set_boundary
Defines or replaces a garden plot boundary from polygon vertices in metres, for plots outside Poland, registry errors, or designer measurements. Changes stay unsaved until saved.
Instructions
Set the plot's boundary from a polygon — for a plot outside Poland, one the land registry gets wrong, or the designer's measurements ("18 by 25 m"). Absolute vertices in metres, in the garden coordinates zones use (the garden's place is at 0,0; x east, y south when north is up), e.g. traced from the OpenStreetMap background in capture_preview. Replaces any boundary; the change is unsaved until save. A placed plot becomes located and the map refits around it. Returns {area (m²), plot: 'located' | 'unlocated'}.
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": {
"polygon": "<polygon>"
},
"name": "set_boundary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polygon | Yes | The boundary's corners in order, at least 3, absolute metres |