get_objects
Retrieve garden objects such as plants, buildings, and ground shapes; filter by layer, or return aggregated counts for large scenes to avoid exceeding token limits.
Instructions
Get garden objects (plants, buildings, ground shapes). Default: full array. Optionally filter by layer. Pass count_only=true on large scenes to get aggregated counts ({total, byLayer, byType, byProductId}) instead of the array — avoids exceeding the tool-result token budget.
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": "get_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Optional: Filter by layer | |
| count_only | No | When true, return { total, byLayer, byType, byProductId } instead of the full object array. Honors the layer filter. Recommended for scenes with many objects. |