Unity Get GameObject
unity_get_gameobjectRetrieve Unity GameObject properties by scene path. Optionally include component list with configurable timeout.
Instructions
Get properties of a specific GameObject by path in the Unity scene.
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_gameobject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of the GameObject (e.g. 'Canvas/Panel/Button'). | |
| includeComponents | No | Include component list. | |
| timeoutMs | No | Command timeout. |