Delete Card Builder card
card_builder_delete_cardPermanently delete a Card Builder card by ID. Use when removing a card no longer used on any dashboard.
Instructions
Permanently delete one Card Builder card by id.
Calls card_builder/cards/delete; Home Assistant's WebSocket handler
returns an empty payload on success. Any dashboard still referencing
this card_id via custom:card-builder-renderer-card will show a
broken/empty card afterwards — this tool does not check for or update
such references.
Use when: removing a card that is no longer used on any dashboard.
Returns: {"status": "deleted", "card_id": ..., "result": ...} on
success.
Errors: on failure, returns {"status": "error", "card_id": ..., "error": <exception text>} instead of raising.
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": "card_builder_delete_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | Id of the card to delete, from card_builder_list_cards. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||