Read a document
get_document_textText of a document (PDF, Word, Excel, PowerPoint …) page by page ("[Page n]"), so you can answer questions about it or summarize it. Long documents: read on from next_start_page, or pass a page range.
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": {
"document_id": "<document_id>"
},
"name": "get_document_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_page | No | ||
| start_page | No | ||
| document_id | Yes |