set_page_setup
Modify the page dimensions, margins, and column count of the first report section in a paginated report. Only passed fields are updated; columns=1 strips the columns element.
Instructions
Update dimensions, margins, and column count on the first ReportSection. All fields are optional — only what's passed gets written. columns=1 strips the element.
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>"
},
"name": "set_page_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| columns | No | ||
| margin_top | No | ||
| page_width | No | ||
| margin_left | No | ||
| page_height | No | ||
| margin_right | No | ||
| margin_bottom | No |