read_document_page
Extract a specific page, chunk, or Excel sheet from PDF, Word, PowerPoint, or CSV files to read document content in manageable, context-efficient portions.
Instructions
Read a specific page, chunk, or sheet from a document. For PDF: provide the page number (e.g. '1'). For Word/PPT/CSV: provide the chunk number (e.g. '1'). For Excel: provide the exact sheet name (e.g. 'Sheet1'). Use get_document_info first to know valid ranges.
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>",
"pageOrSheet": "<pageOrSheet>"
},
"name": "read_document_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file | |
| password | No | Optional password for encrypted/protected PDF files | |
| pageOrSheet | Yes | Page/chunk number (1-indexed) for PDF/Word/PPT/CSV, OR the sheet name for Excel |