create_dashboard
Group one or more chart visuals into a single visible dashboard in the CDV workspace, making standalone charts viewable and organized.
Instructions
Create a CDV dashboard that groups one or more chart visuals into a single visible view.
Use this tool after create_smart_visual() to make charts visible in the CDV workspace UI. Chart visuals created via the API are standalone artifacts; they only appear in the CDV workspace when placed inside a dashboard.
visual_ids: list of visual IDs to include (in display order, left-to-right, top-to-bottom). Record these IDs — deleting the dashboard also deletes all linked visuals. workspace_id: the workspace where the dashboard will be created (from list_workspaces()). dataset_id: optional — the primary dataset for the dashboard (for global filter context). Use the dataset_id shared by most of the included visuals. description: optional short description shown in the workspace.
Visuals are automatically tiled in a 2-column grid. Odd trailing visuals span full width.
WARNING: Deleting a dashboard (via delete_visual) permanently deletes all linked chart visuals. Always save the visual IDs before deleting a dashboard.
Returns the new dashboard's id and url.
Example workflow:
call list_workspaces() → choose workspace_id
call list_datasets() → confirm dataset_id with the user
call create_smart_visual() × N → collect visual_ids
call create_dashboard(title="My Dashboard", workspace_id=4, visual_ids=[131, 132, 133], dataset_id=12)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| workspace_id | Yes | ||
| visual_ids | Yes | ||
| dataset_id | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |