add_widget
Add a saved query visualization to a dashboard as a widget. Specify the dashboard and visualization IDs to place it and receive the widget and dashboard IDs.
Instructions
Add a saved query's visualization onto a dashboard as a widget. Behavior: places the widget and returns its id and dashboard_id. Usage: get the dashboard_id from list_dashboards or create_dashboard, and the visualization_id from get_query (each saved query exposes its visualizations). This is how you build up a dashboard after creating it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional text/markdown caption shown on the widget | |
| width | No | Widget width: 1 = half row, 2 = full row (default 1) | |
| dashboard_id | Yes | ID of the dashboard to add the widget to (from list_dashboards/create_dashboard) | |
| visualization_id | Yes | ID of the visualization to embed (from get_query's visualizations list) |