get_gameobject
Retrieve detailed information about a GameObject by providing its instance ID, name, or hierarchical path. Get all component properties including Transform position, rotation, and scale.
Instructions
Retrieves detailed information about a specific GameObject by instance ID, name, or hierarchical path (e.g., 'Parent/Child/MyObject'). Returns all component properties including Transform position, rotation, scale, and more.
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": {
"idOrName": "<idOrName>"
},
"name": "get_gameobject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrName | Yes | The instance ID (integer), name, or hierarchical path of the GameObject to retrieve. Use hierarchical paths like 'Canvas/Panel/Button' for nested objects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Human-readable summary or error | |
| success | No | Whether the GameObject was found |