set_animation_tree_param
Set AnimationTree parameter values in a Godot scene to control animation states, conditions, and blend amounts directly.
Instructions
Set AnimationTree parameter.
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": {
"scene_path": "<scene_path>",
"param": "<param>",
"value": "<value>"
},
"name": "set_animation_tree_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| param | Yes | Parameter to set (e.g. "active", "tree_root/parameters/conditions/active") | |
| value | Yes | New value | |
| tree_name | No | AnimationTree node name (default: first found) | |
| scene_path | Yes | Path to .tscn scene file |