get_card_image
Retrieve a Metabase card as a base64-encoded PNG image by providing its card ID. Use this to embed card visuals in external applications.
Instructions
Get a card/question as a PNG image (base64 encoded).
Args: card_id: The ID of the card to export
Returns: Base64 encoded image data or error message
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": "get_card_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |