set_page_orientation
Change page orientation to portrait or landscape for a specific section of a document.
Instructions
Set page orientation.
Args: orientation: "portrait" or "landscape" section_index: Section to apply to (default: 0)
Returns: Success message or error
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 |
|---|---|---|---|
| orientation | Yes | ||
| section_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |