update_card
Update an existing Metabase card by modifying its name, description, SQL query, database, collection, or visualization settings.
Instructions
Update an existing card/question in Metabase.
Args: card_id: The ID of the card to update. name: New name for the card. description: New description. query: New SQL query (requires database_id). database_id: Database ID for the query. collection_id: Move card to this collection. visualization_settings: New visualization configuration.
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>"
},
"name": "update_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | ||
| name | No | ||
| description | No | ||
| query | No | ||
| database_id | No | ||
| collection_id | No | ||
| visualization_settings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||