Skip to main content
Glama

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
NameRequiredDescriptionDefault
gameObjectRefNoTarget GameObject. When provided, lists components ON this object. When omitted, lists all available component types. SCHEMA: {"name":"ObjectName"} or {"instanceID":12345}
searchNoSubstring for searching/filtering component names. Could be empty.
pageNoPage number (0-based). Default is 0.0
pageSizeNoNumber of items per page. Default is 20. Max is 500.20

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/butterlatte-zhang/unity-ai-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server