Read an HWP or HWPX file
read_hwp_documentRead an HWP or HWPX file (or a Word .docx) and get its text as Markdown, with tables kept as Markdown tables. Use it to summarise, translate, check, answer questions about or rewrite a Korean HWP document. Very long documents are cut at 60,000 characters (the result says so).
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": "<file>"
},
"name": "read_hwp_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file. In ChatGPT, pass the attached file (download_url and file_id). Elsewhere, pass a public https download_url, or data as base64 for files under 3 MB with download_url set to an empty string. | |
| password | No | Only for a password-protected HWP file. | |
| hide_personal_info | No | Hide personal information first: Korean resident and foreign registration numbers (주민등록번호, 외국인등록번호), phone numbers, email addresses, bank account and passport numbers are masked (900101-*******, 010-****-5678). Use it when the person asks to hide or remove personal information, or before sharing a document that holds other people's details. |