Delete zone helper
zones_delete_zoneDelete a UI-helper zone no longer needed by passing its helper ID or zone entity_id. Returns status and zone_id; home and YAML-defined zones reject deletion.
Instructions
Delete a zone helper.
Calls WS zone/delete; accepts either the bare helper id or the full
zone.<id> entity_id. Only works for zones created via
zones_create_zone — zone.home and YAML-defined zones reject this WS
command.
Use when: removing a UI-helper zone that is no longer needed.
Returns: dict with status, zone_id, and the raw WS result.
Errors: on failure, returns {"error": "<message>", "hint": "...", "zone_id": ...} 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": {
"zone_id": "<zone_id>"
},
"name": "zones_delete_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | Zone helper id or full entity_id like 'zone.office'; obtain it from zones_list_zones. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||