Get Components
unity_get_componentsList all components on a Unity GameObject with enabled flags to inspect behaviour and rendering before modifying it.
Instructions
List all components on a GameObject with enabled flags.
Use when: inspecting what behaviour/rendering an object has before modifying it.
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": {
"path": "<path>"
},
"name": "unity_get_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Hierarchy path of the GameObject, e.g. 'Player' or 'Level/Enemies/Orc' | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |