Delete CSS custom property
card_builder_delete_css_custom_propertyPermanently delete a registered CSS custom property by ID, removing it from card builder when no card style uses it.
Instructions
Permanently delete one registered CSS custom property by id.
Calls card_builder/css_custom_properties/delete. Any card style
still referencing this property's name keeps that reference — the
browser falls back to an unset CSS variable — this tool does not check
for or update such references.
Use when: removing a custom property that is no longer used by any
card style.
Returns: {"status": "deleted", "custom_property_id": ..., "result": ...} on success.
Errors: on failure, returns {"status": "error", "custom_property_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": {
"custom_property_id": "<custom_property_id>"
},
"name": "card_builder_delete_css_custom_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| custom_property_id | Yes | Id of the property to delete, from card_builder_list_css_custom_properties. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||