add_query_to_dashboard
Show an existing saved query on a dashboard as a panel (a query can be on several dashboards). Defaults to a 12x8 panel appended in reading order; position inserts it among the query panels, gridPos places and sizes it. To save a new chart, use create__query with dashboardId instead. Saved when this runs; explain it in reason. Load the manage-dashboards skill (load_skill("manage-dashboards")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why you are making this change, in one sentence the user will read on the approval card. | |
| gridPos | No | Position and size on the 24-column grid. Sizing guide: KPI stat 6x4, wide chart 16x9, table 8x9, two charts side by side 12x8 each, section heading 24x1 (markdown heading). | |
| queryId | Yes | An existing saved query (from list_queries). | |
| position | No | 0-based position among the dashboard's query panels in reading order (0 = first). Omit to append. A query already on the dashboard is moved here. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| dashboardId | Yes | The dashboard to add the query to. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |