gameobject-component-list-all
Lists components attached to a Unity GameObject or all available component types in the project for selection and management.
Instructions
When gameObjectRef is provided: list all components attached to that GameObject (type name + instanceID). When gameObjectRef is omitted: list all available C# component type names in the project (for 'gameobject-component-add' tool). Results are paginated.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameObjectRef | No | Target GameObject. When provided, lists components ON this object. When omitted, lists all available component types. SCHEMA: {"name":"ObjectName"} or {"instanceID":12345} | |
| search | No | Substring for searching/filtering component names. Could be empty. | |
| page | No | Page number (0-based). Default is 0. | 0 |
| pageSize | No | Number of items per page. Default is 20. Max is 500. | 20 |