dashboards_add_card
Add an existing saved question to a Metabase dashboard at a chosen grid position or tab, returning the dashcard ID needed for later reposition, removal, or filter-connect operations.
Instructions
Add an existing saved question to a dashboard at an optional grid position. Returns the dashcard ID — capture it; it is the placement ID needed for remove/reposition/filter-connect operations (it is NOT the card ID). Pass tab_id to place the card on a specific tab.
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>",
"card_id": "<card_id>"
},
"name": "dashboards_add_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Column position, 0-indexed (default 0) | |
| row | No | Row position, 0-indexed (default 0) | |
| size_x | No | Width in grid units (default 12) | |
| size_y | No | Height in grid units (default 8) | |
| tab_id | No | Tab ID to place the card on. Only relevant when the dashboard has tabs; defaults to the first tab if omitted. | |
| card_id | Yes | Saved question (card) ID to place | |
| dashboard_id | Yes | Dashboard ID |