Preview a card
preview_cardValidates a card config and returns a text preview of the card and its menu, or the list of problems to fix. Use it after every change and show the preview to the user.
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": {
"config": "<config>"
},
"name": "preview_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The card configuration (card.config.json). Call list_card_options for the fields. | |
| language | No | Optional language code for the preview. |