Read Document
read_documentExtract readable text from PDF, Word, Excel, and PowerPoint files so AI assistants can process documents and spreadsheets that cannot be read as plain text.
Instructions
Extract readable text from a PDF (.pdf), Word (.docx), Excel (.xlsx/.xlsm), or PowerPoint (.pptx) file. Use this for documents and spreadsheets that cannot be read as plain text.
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 | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |