read_pdf
Extract text content from PDF files. Optionally read specific pages by specifying a page range.
Instructions
Extract text content from a PDF file. Optionally specify page range (e.g., "1-5" or "1,3,5").
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": {
"filePath": "<filePath>"
},
"name": "read_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the PDF file | |
| pageRange | No | Optional page range (e.g., "1-5", "1,3,5-10") |