set_page_orientation
Change document page orientation to portrait or landscape, automatically adjusting dimensions for selected section or entire document.
Instructions
Set page orientation, swapping width/height dimensions if needed.
Args: orientation: "portrait" or "landscape". 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": {
"orientation": "<orientation>"
},
"name": "set_page_orientation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | No | ||
| orientation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |