read_document
Extract text and metadata from DOCX, DOC, TXT, MD, HTML, and other document formats for processing or analysis.
Instructions
Read various document formats (DOCX, DOC, TXT, MD, HTML, etc.)
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": {
"filePath": "<filePath>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Document path to read | |
| extractMetadata | No | Extract document metadata | |
| preserveFormatting | No | Preserve formatting (HTML output) |