get_document_text
Extracts OCR text from a document, organized by page. Provide a document ID and optionally a page number to retrieve the text.
Instructions
Get the full OCR text content of a document. Returns text organized by page.
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 |
|---|---|---|---|
| page | No | Optional: specific page number (1-based). Omit for all pages. | |
| document_id | Yes | Document ID (from search results) |