페이지 이미지 렌더링
hwp_render_pageRender a specific HWP/HWPX page or all pages to PNG or SVG and return the saved image path for visual inspection.
Instructions
문서 페이지를 PNG 또는 SVG 이미지 파일로 렌더링하여 저장 경로를 반환합니다(시각 확인용). page는 0부터 시작하며, -1이면 전체 페이지를 렌더합니다. file_path는 절대 경로 권장.
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>"
},
"name": "hwp_render_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| format | No | png | |
| file_path | Yes | ||
| output_dir | No |