Create an HWP document
create_hwp_documentCreate a Korean word-processor file (HWP or HWPX, the format of Hancom Office Hangul, 한글) from text you wrote, and get a download link. Use it whenever the person needs an .hwp or .hwpx file, for example for a Korean school, government office or company that asks for HWP. Write the document in Markdown (headings, lists, tables, bold, italics) or simple HTML; it is laid out on A4 with Hangul's default fonts and margins. Can also save the same document as PDF. 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": {
"content": "<content>"
},
"name": "create_hwp_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title, printed centred and large at the top. | |
| format | No | hwp (Hangul 2010 and later open it), hwpx (newer, the government's open format) or pdf. | hwp |
| content | Yes | The whole document, in Markdown (default) or HTML. | |
| file_name | No | File name without the extension, for example 사업계획서. Korean is fine. | |
| content_format | No | markdown |