update_object
Modify a garden object's position, size, rotation, or label, or swap its product by ID or name search. Plants and buildings adopt catalog dimensions while ground shapes keep their form.
Instructions
Update a garden object's position, size, rotation, or swap its product. To swap product: pass productId or productQuery. Plants/buildings get new dimensions from catalog; ground shapes keep their shape and only swap texture.
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_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New center X — units determined by set_units (default 'm') | |
| y | No | New center Y — units determined by set_units (default 'm') | |
| id | Yes | Object ID to update | |
| label | No | New label | |
| width | No | New width — units determined by set_units (default 'm') | |
| height | No | New height — units determined by set_units (default 'm') | |
| rotation | No | New rotation in degrees | |
| elevation | No | New elevation in meters — ground surfaces only; architecture keeps its catalog height | |
| productId | No | New product ID — swaps the product. Plants/buildings adopt new catalog dimensions; ground shapes keep shape and swap texture only. | |
| productQuery | No | Product name search — resolved to productId. Use this OR productId. |