configure_page_layout
Rearrange page widgets with preset layouts or custom specs to organize Grist dashboards. Specify a page and layout to control widget placement.
Instructions
Rearrange widgets on a page using a layout preset or custom layout spec.
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": {
"page_name": "<page_name>"
},
"name": "configure_page_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | Document ID | |
| layout | No | Layout preset. stacked=vertical, side_by_side=horizontal, left_panel=narrow left + wide right, grid_2x2=2x2 grid | |
| page_name | Yes | Page to reconfigure | |
| custom_layout | No | Custom BoxSpec layout object (overrides preset). Format: {"children": [{"leaf": sectionRef}, {"leaf": sectionRef}]} where leaf values are section ref IDs. |