object-get-data
Retrieve serialized data of a Unity object, including its properties and fields, for inspection or further modification using object-modify.
Instructions
Get data of the specified Unity Object. Returns serialized data of the object including its properties and fields. If need to modify the data use 'object-modify' tool.
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": {
"objectRef": "<objectRef>"
},
"name": "object-get-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectRef | Yes | Object reference. SCHEMA: {"instanceID":12345} - get instanceID from gameobject-find or editor-selection-get. |