Search Scene
search_sceneFind objects in a Unity scene by name, component, tag, layer, or active state. Scope search to a subtree or restrict to a specific scene.
Instructions
Search scene objects. Syntax: name text, t:Component, tag=Tag, layer=N, active=bool. Combine with spaces. root: scope search to subtree (path or None for whole scene). limit: max results (default 50; 0=unlimited). scene: filter to a single scene by name (multi-scene only).
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": {
"query": "<query>"
},
"name": "search_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Scene path to scope the search (omit = whole scene) | |
| limit | No | Max results (default 50; 0 = unlimited) | |
| query | Yes | Syntax: 'name text', 't:Component', 'tag=Tag', 'layer=N', 'active=bool' — combine with spaces | |
| scene | No | Filter to a single scene by name (multi-scene only) |