set_property
Sets a single Unity component property on a target object, such as Rigidbody mass, enabling precise scene edits without changing other component values.
Instructions
Set one component property, e.g. component=Rigidbody property=mass value=5.
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": {
"target": "<target>",
"component": "<component>",
"property": "<property>",
"value": "<value>"
},
"name": "set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Number, true/false, text, 'x,y,z', enum name or asset/object path | |
| target | Yes | ||
| property | Yes | ||
| component | Yes |