update_card_display
Change the visualization type of a Metabase saved question to table, bar, pie, line, or other formats, with optional settings.
Instructions
Update the display type of a saved question/card in Metabase.
Args: card_id: The ID of the card to update. display: The display type (e.g. "table", "bar", "line", "pie", "scalar", "row", "area", "combo", "pivot", "smartscalar", "funnel", "waterfall", "map"). visualization_settings: Optional visualization settings to apply with the display change.
Returns: The updated card object.
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": {
"card_id": "<card_id>",
"display": "<display>"
},
"name": "update_card_display"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | ||
| display | Yes | ||
| visualization_settings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||