clear_all
Clear garden scene contents by scope: remove all objects, zones, and pins, or preserve objects or zones and pins as needed.
Instructions
Clear scene contents. Default scope='all' clears objects, zones, AND pins (matches the tool name's intent). Use scope='zones_pins' to preserve objects, or scope='objects' to preserve zones+pins. NOTE: behaviour change in this MCP version — previously this tool only cleared zones+pins regardless. Returns { success, scope, objectsCleared, zonesCleared, pinsCleared }.
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": "clear_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | What to clear. 'all' (default) = objects + zones + pins. 'zones_pins' = legacy behaviour (zones + pins only). 'objects' = clear plants/buildings/ground shapes only. |