game_animation_tree
Control Godot AnimationTree state machines by traveling to named states and getting or setting animation parameters.
Instructions
AnimationTree state machine travel and params
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": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_animation_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: travel, set_param, get_state, get_params | |
| nodePath | Yes | Path to AnimationTree node | |
| paramName | No | Parameter name | |
| stateName | No | State name (for travel) | |
| paramValue | No | Parameter value |