Create dashboard
create_dashboardMake a dashboard in one of the user's workspaces from queries on its datasets. type story: slides, each with a title and blocks, for a narrative (a monthly review). type board: one page of charts and KPIs with little text. Blocks: { kind: "chart", dataset_id, query (as aggregate takes it: group_by, grain, metrics, where, order_by, limit), chart: { chart, x, y, series, title, subtitle, format, mode, … as the chart tool } }, { kind: "kpi", dataset_id, query: { metrics }, title }, { kind: "text", text }, { kind: "commentary", prompt } (written from the numbers on its slide or board, on the user's own AI key at each refresh), { kind: "shape", shape: "rect" | "ellipse" | "line" | "arrow" }. Optional layout: story { x, y, w, h } in percent of a 16:9 slide; board { x, w } in 12 columns, { y, h } in rows. Leave it out and blocks are laid out for you. Optional style: { fontSize, titleSize, subtitleSize, color, fill, stroke, align, weight }. Charts are drawn at once; write each chart title as the takeaway. Returns the dashboard and its link; the user edits, comments and refreshes it in the app. Only the workspace's own datasets can be used.
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": {
"type": "<type>",
"title": "<title>"
},
"name": "create_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| type | Yes | ||
| title | Yes | ||
| blocks | No | ||
| slides | No | ||
| subtitle | No | ||
| workspace_id | No |