add_dashboard_element
Add a visualization tile to a dashboard by defining a query or embedding a saved Look.
Instructions
Add a visualization tile to a dashboard. Requires a query definition (model, view, fields) or a saved Look ID.
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": {
"dashboard_id": "<dashboard_id>",
"title": "<title>"
},
"name": "add_dashboard_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes | ID of the dashboard | |
| title | Yes | Title for the tile | |
| type | No | Element type: 'vis' (visualization), 'text', 'filter' | vis |
| look_id | No | ID of a saved Look to embed | |
| query_model | No | LookML model for an inline query | |
| query_view | No | Explore/view for an inline query | |
| query_fields | No | Fields for an inline query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |