extract_text
Extract the plain text layer from a local PDF page by page, optionally selecting pages, when you need raw text without markdown or structure.
Instructions
The plain text layer of a local PDF, page by page.
Each page starts with <!-- page N --> (N 0-based). No reading-order
repair and no structure: use extract_markdown for that. A page with no text
layer (a scan) yields nothing here; get_metadata names those pages.
Args: path: The PDF's absolute path on this machine. pages: The 0-based pages to return; omit for the whole document, up to the server's page limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |