set_page_size
Set page dimensions in millimetres for a Word document section by specifying width and height. Optionally target a specific section via paragraph ID.
Instructions
Set page size from millimetre values.
Args: width_mm: Page width in mm (e.g. 210 for A4, 215.9 for Letter). height_mm: Page height in mm (e.g. 297 for A4, 279.4 for Letter). para_id: paraId of paragraph with section break. None = body section.
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": {
"width_mm": "<width_mm>",
"height_mm": "<height_mm>"
},
"name": "set_page_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | No | ||
| width_mm | Yes | ||
| height_mm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |