create_dashboard
Build a new dashboard by defining panels, grid layout, and variables, then configure theme, time range, and refresh options.
Instructions
Create a new dashboard with panels, layout, and variables.
Panels use a 24-column grid layout. Each panel needs a unique 'key' that maps to a layoutStructures entry defining its grid position (x, y, width, height).
Panel types: TextPanel (markdown text), SumoSearchPanel (log/ metric queries with charts), ServiceMapPanel, TracesListPanel.
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": {
"title": "<title>",
"panels_json": "<panels_json>",
"layout_json": "<layout_json>"
},
"name": "create_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | 'Light' or 'Dark' | Light |
| title | Yes | Dashboard title | |
| folder_id | No | Folder ID to place dashboard in | |
| description | No | Dashboard description | |
| layout_json | Yes | JSON layout object with layoutType='Grid' and layoutStructures array mapping panel keys to grid positions {height, width, x, y} | |
| panels_json | Yes | JSON array of panel objects. Each panel needs panelType (TextPanel/SumoSearchPanel), key, title, and type-specific fields (text/queries) | |
| variables_json | No | JSON array of template variable definitions. Referenced in queries as {{varName}} | |
| time_range_json | No | JSON time range object. Defaults to last 15 minutes if omitted | |
| refresh_interval | No | Auto-refresh seconds: 0, 30, 60, 120, 300, 900, 1800, 3600 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |