HWP to Markdown
v0.1.1Convert Korean HWP/HWPX (한글) documents to Markdown and extract tables.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hwp_to_markdown
Convert a Korean HWP or HWPX (한글) document to Markdown: paragraphs, outline headings, tables. Pass exactly one of path | url | base64. 한글 문서를 마크다운으로 변환합니다. Use whenever a user gives you a .hwp/.hwpx file or link (공문, 계약서, 입찰서류). Needs the file location.
| Parameter | Type | Description |
|---|---|---|
base64 | string | Base64 file contents (for clients that cannot share a path) |
maxChars | integer | Truncate output beyond this many characters |
path | string | Local file path, e.g. ~/Downloads/공문.hwp |
url | string | http(s) URL of a .hwp/.hwpx file |
hwp_extract_tables
Extract all tables from an HWP/HWPX document as JSON arrays (rows × columns of cell text). 한글 문서의 표를 JSON 배열로 추출합니다. Use for 물품내역, 견적, 일정표 — anything you will compute on. Needs the file location.
| Parameter | Type | Description |
|---|---|---|
base64 | string | Base64 file contents (for clients that cannot share a path) |
path | string | Local file path, e.g. ~/Downloads/공문.hwp |
url | string | http(s) URL of a .hwp/.hwpx file |
hwp_info
Quick facts about an HWP/HWPX file without the full text: format, version, title, section/paragraph/table/image counts, whether it is encrypted or a 배포용 copy. 변환 전에 문서 정보를 확인합니다. Needs the file location.
| Parameter | Type | Description |
|---|---|---|
base64 | string | Base64 file contents (for clients that cannot share a path) |
path | string | Local file path, e.g. ~/Downloads/공문.hwp |
url | string | http(s) URL of a .hwp/.hwpx file |