smartsuite_normalize_dashboard_widgets
Fixes dashboard widgets with wrong sizes or overlaps by resetting them to natural sizes and re-stacking. Offers a dry-run preview before applying changes.
Instructions
Repair a dashboard's widgets: reset them to their natural per-type size and/or re-stack them to remove overlaps. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. Fixes dashboards built with wrong sizes (e.g. metric cards left too tall — which re-saving in the UI does not correct) or with widgets piled on top of each other (all near position (0,0), so they overlap and hide each other). Dry-run preview (before→after per widget) unless confirm:true. SIZE: by default HEIGHT is normalized; dimension:"both" also fixes width; restrict with widgetTypes (e.g. ["summary-card-widget"]). REFLOW: pass reflow:true to re-lay-out the tab — widgets sharing the same current row (same position_y) are kept side-by-side, and rows are stacked top-to-bottom by their tallest widget so nothing overlaps (reflow repositions ALL widgets on the tab, regardless of widgetTypes). Use tabId to limit to one tab.
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": {
"dashboardId": "<dashboardId>"
},
"name": "smartsuite_normalize_dashboard_widgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Optional: only affect widgets on this tab. | |
| reflow | No | Re-stack widgets top-to-bottom to remove overlaps (preserves each row's side-by-side columns). Default false. | |
| confirm | No | Set true to apply; otherwise returns a dry-run preview of the changes. | |
| dimension | No | "height" (default) fixes height only; "both" also fixes width. | |
| dashboardId | Yes | The dashboard (report) ID. | |
| widgetTypes | No | Optional: only resize these widget types (e.g. ["summary-card-widget"]). Does not limit reflow. |