Read PDF
read_pdfExtract text from a PDF, optionally limited to specific pages or ranges. Use it to read document contents for summarization, search, or data extraction.
Instructions
Extract text from a PDF, optionally specific pages.
Args: filename: PDF filename (e.g., "2024-01-15 Invoice.pdf") pages: Optional page range (e.g., "1-3", "5", "1,3,5"). Omit for all pages.
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": {
"filename": "<filename>"
},
"name": "read_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||