update_zone
Edits an existing garden zone's geometry (polygon/path or rectangle), type, label, notes, rotation, elevation, or lock state; returns area, width, overlap, and overflow checks.
Instructions
Update an existing zone. Reshape it with polygon or path (absolute, metres) or with x/y/width/height/points; lock or unlock it with locked. Returns checks for the updated zone (area, narrowest width, overlaps, parcel overflow).
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": {
"id": "<id>"
},
"name": "update_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Rectangle centre X (metres by default) | |
| y | No | Rectangle centre Y (metres by default) | |
| id | Yes | Zone ID to update | |
| path | No | Corridor along a centreline: absolute waypoints (metres) and corridor width. Replaces x/y/width/height/points. | |
| label | No | New label | |
| notes | No | Updated design notes | |
| width | No | Rectangle width (plan size, not height) | |
| height | No | Rectangle depth on the plan (NOT vertical height — that is `elevation`) | |
| locked | No | Lock (true) or unlock (false) the zone | |
| points | No | With x/y: polygon vertices as offsets from (x, y). Prefer `polygon` (absolute) instead. | |
| polygon | No | Absolute polygon vertices in metres (garden coordinates). Replaces x/y/width/height/points. | |
| rotation | No | New rotation in degrees | |
| zoneType | No | New zone type | |
| elevation | No | New vertical height in metres |