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.
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 |