insert_picture
Insert an image into an HWP document by specifying its file path and optional dimensions, with embedding support.
Instructions
Insert a picture into the document.
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": {
"doc_id": "<doc_id>",
"image_path": "<image_path>"
},
"name": "insert_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| doc_id | Yes | ||
| height | No | ||
| embedded | No | ||
| image_path | Yes | ||
| size_option | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||