set_units
Configures coordinate input and output units as meters or raw editor units (50 units = 1 m), ensuring spatial values use the correct scale for garden layout and editing.
Instructions
Set the unit system for coordinate inputs/outputs. Default is "m" (meters). When set to "m", all spatial values (x, y, width, height, points) are in meters. When "editor", values use raw editor units (50 units = 1 meter).
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": {
"unit": "<unit>"
},
"name": "set_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | "m" for meters (default, agent-friendly), "editor" for raw editor units (50 = 1m) |