Read document
read_documentReads document text, including scanned files via OCR, and returns the first page by default; use offset to continue through longer documents.
Instructions
Text of a document, first page by default (scans via local OCR). next_offset continues.
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": {
"path": "<path>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | No | ||
| max_chars | No |