Read document
doc_readRead and extract text from DOCX, PDF, EML, HWP, or HWPX files to see what a document contains. Supports text or markdown output and encrypted files with a password.
Instructions
Extract the text of a document: DOCX, PDF, EML email, or HWP and HWPX (Korean word processor, no Hancom Office needed). Use when the model needs to read what a file says.
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": "doc_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the .hwp, .hwpx, .docx, .pdf or .eml file. Relative paths are refused | |
| format | No | markdown keeps headings, lists and tables where the format has them (DOCX). Default text | |
| password | No | Only for encrypted PDF, HWP or HWPX |