find_gameobjects
Search for GameObjects in the scene by name, tag, layer, component type, or path. Returns paginated instance IDs for further data retrieval.
Instructions
Search for GameObjects in the scene by name, tag, layer, component type, or path. Returns instance IDs only (paginated). Then use mcpforunity://scene/gameobject/{id} resource for full data, or mcpforunity://scene/gameobject/{id}/components for component details. For CRUD operations (create/modify/delete), use manage_gameobject instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor (offset for next page) | |
| page_size | No | Number of results per page (default: 50, max: 500) | |
| search_term | Yes | The value to search for (name, tag, layer name, component type, or path) | |
| search_method | No | How to search for GameObjects | by_name |
| include_inactive | No | Include inactive GameObjects in search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||