set_page_size
Adjust paper size and orientation of a HWP/HWPX document and output a new file with the specified dimensions.
Instructions
Set paper width/height/orientation (e.g. PORTRAIT/LANDSCAPE) and write a NEW file (delegate).
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": {
"path": "<path>",
"out_path": "<out_path>"
},
"name": "set_page_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| width | No | ||
| height | No | ||
| out_path | Yes | ||
| orientation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |