read_pdf_text
Extract text from specific pages of a PDF document. Specify file path and page range to read content from PDF files.
Instructions
Read text content from PDF 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": {
"file_path": "<file_path>"
},
"name": "read_pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the PDF file | |
| start_page | No | Starting page number (1-indexed, default: 1) | |
| end_page | No | Ending page number (1-indexed, inclusive). If None, reads to end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |