Arrange widgets
set_widget_layoutReposition several widgets on a view at once, on the 12-column grid. Use this to lay out a whole view rather than moving widgets one at a time.
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": {
"viewId": "<viewId>",
"layouts": "<layouts>"
},
"name": "set_widget_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewId | Yes | View id. | |
| layouts | Yes | The widgets to move, with their new positions. |