Convert HWP, HWPX and Word files
convert_documentConvert a file between HWP, HWPX, PDF, Word (.docx), Markdown and plain text, and get a download link. Input: an .hwp, .hwpx or .docx file. Use it for requests like 'turn this HWP into a PDF', 'make this Word file an HWP' or 'save this as HWPX'. Tables, pictures and page layout carry over. In PDF, Hancom fonts are drawn with Nanum fonts and the text stays selectable. Give the person the download link from the result.
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>",
"to": "<to>"
},
"name": "convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The format to save as. | |
| 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. |