Delete label
labels_delete_labelDelete a label from Home Assistant's label registry by its ID. Use when a label is no longer needed; returns success status and any error.
Instructions
Delete a label from the label registry.
Calls WS config/label_registry/delete with the given label_id and
returns Home Assistant's result unchanged.
Use when: a label is no longer needed.
Returns: dict with label_id, the raw WS result, and ok (true on
success).
Errors: on a WS failure, returns {"label_id": ..., "ok": false, "error": "<message>"} 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": {
"label_id": "<label_id>"
},
"name": "labels_delete_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | Label registry ID to delete; obtain it from labels_list_labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||