unity_search_by_name
Search for GameObjects by name pattern. Supports substring or regex matching, with options to include inactive objects and limit results.
Instructions
Find all GameObjects whose name contains a pattern. Supports substring matching or regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name pattern to search for | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| limit | No | Maximum results to return (default: 500). | |
| regex | No | Use regex matching instead of substring (default: false) | |
| includeInactive | No | Include inactive GameObjects (default: false) |