insert_hwp_image
Inserts an image into an .hwpx Hangul Word Processor file by adding it to BinData, registering in content.hpf, and appending an inline paragraph with the image.
Instructions
Insert a new image into an .hwpx — adds the file to BinData/, registers it in content.hpf, and appends a paragraph with an inline hp:pic. Args: file_path, source_path, ext (png/jpg/bmp/gif; auto from source_path if omitted), output_path (optional).
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_path": "<file_path>",
"source_path": "<source_path>"
},
"name": "insert_hwp_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| source_path | Yes | ||
| ext | No | ||
| output_path | No |