Read a document
read_documentLook at a document yourself: an image comes back as the image, a PDF or text as its text where possible. Give the document's id (from list_inbox or read_line), or the line (its ID, or month and number) and the file number.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The document id. | |
| file | No | The file's number in the line. | |
| line | No | The line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number. | |
| month | No | The month as YYYY-MM, like 2026-09; with number, or give line instead. | |
| number | No | The line's number in the month, like 12; with month, or give line instead. |