datafile extract

File Extract

file_extract

Extract bounded text and basic metadata locally from PDF, DOCX, XLSX, PPTX, HTML, Markdown, and TXT files. PDF extraction uses the installed pdftotext command.

How to use file_extract

Provide only the required inputs below. Start with the smallest scope that answers the task, then review the risk properties before an agent executes the call.

Risk and execution properties

Read only: yes

Destructive: no

Idempotent: yes

Open world: no — operates locally or through configured services

Inputs

pathstringrequired
max_charsinteger

Default: 20000

max_pagesinteger

PDF page limit.

Default: 10

Example input

{
  "path": "<string>",
  "max_chars": 20000,
  "max_pages": 10
}

Browse or search the full 74-tool reference to choose the smallest suitable capability.

Browse all tools →