Extract text
extract_textExtract plain text from a local PDF. Optionally specify a page range like '1-5' or '1,3,5-7'. Output is split by page with === Page N === markers.
Instructions
Extract plain text from a local PDF. Optionally restrict to a page range like "1-5" or "1,3,5-7". Output is split by page with === Page N === markers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a PDF on the local filesystem. | |
| pages | No | Page range (1-based). Examples: "3", "1-5", "1,3,5-7". Omit for all pages. |