Get Zone
ha_get_zoneRetrieve Home Assistant zone information: list all zones with coordinates and radius, or get detailed configuration for a specific zone by ID or entity ID.
Instructions
Get zone information - list all zones or get details for a specific one.
Without a zone_id: Lists all Home Assistant zones with their coordinates and radius. With a zone_id: Returns detailed configuration for a specific zone.
EXAMPLES:
List all zones: ha_get_zone()
Get specific zone: ha_get_zone(zone_id="office")
Same zone by entity_id: ha_get_zone(zone_id="zone.office")
Zones outside the zone storage, the home zone (from the general
settings) and YAML zones, are listed with editable=false /
source="yaml"; editable means ha_set_zone and ha_remove_zone can
change the zone. Each zone carries its entity_id.
A stored zone's icon is the one stored in the zone, which the
Zones editor shows. entity_icon is an icon override in the zone
entity's registry entry: the map and the zone's state show it instead.
Set or clear the override with ha_set_entity.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ha_get_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | No | Zone ID or entity_id to get details for (from the ha_get_zone() list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||