pdf_text
Extract text from selected PDF pages or search for snippets, and flag scanned pages that need OCR.
Instructions
Text of a PDF per page (pages "1-3,7"), or search with snippets; scanned pages flagged (need OCR).
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": "pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No | ||
| search | No | ||
| max_chars | No |