unity_component_get_properties
Retrieve all serialized properties of a component on a specified GameObject by providing its path and component type.
Instructions
Get all serialized properties of a component on a GameObject.
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": {
"gameObjectPath": "<gameObjectPath>",
"componentType": "<componentType>"
},
"name": "unity_component_get_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| componentType | Yes | Component type name | |
| gameObjectPath | Yes | Path or name of the target GameObject |