save_as_image
Convert selected HWP document pages into image files. Set the page range, output format, and DPI to export pages as PNG or other image types.
Instructions
Save document pages as image files.
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>",
"output_path": "<output_path>"
},
"name": "save_as_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| doc_id | Yes | ||
| format | No | png | |
| to_page | No | ||
| from_page | No | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||