game_animation_tree
game_animation_treeTravel between animation states and modify parameters in Godot's AnimationTree nodes using node path and action commands.
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 |