set_animation_tree_root
Set the root AnimationNode type on an AnimationTree to define how animation states are organized and played, such as using an AnimationNodeStateMachine.
Instructions
Set the root AnimationNode type on an AnimationTree.
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": {
"node_path": "<node_path>",
"root_type": "<root_type>"
},
"name": "set_animation_tree_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path to the AnimationTree | |
| root_type | Yes | Root node type (e.g. AnimationNodeStateMachine) |