read_document
Read local PDFs, Office files, HTML, email, and images as clean text, including scans and complex tables, while flagging uncertain content for review.
Instructions
Read a local PDF, Word, PowerPoint, Excel, HTML, email or image file as clean text. Handles scans and complex tables, and marks anything uncertain. Prefer this over reading such files directly.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |