read_document
Extract all text from DOCX, XLSX, PPTX, and PDF files by providing the absolute file path.
Instructions
Extract all text from an existing document (DOCX, XLSX, PPTX, or PDF)
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": {
"file_path": "<file_path>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the document file (.docx, .xlsx, .pptx, or .pdf) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |