add_animation_track
Adds a track to an animation in a Godot AnimationPlayer, letting you target a node property or method so the animation can control it.
Instructions
Add a track to an animation in an AnimationPlayer.
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>",
"animation_name": "<animation_name>",
"target_path": "<target_path>"
},
"name": "add_animation_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path to the AnimationPlayer | |
| track_type | No | Track type (value, method, bezier, etc.) | |
| target_path | Yes | Node path and property for the track | |
| animation_name | Yes | Animation to add the track to |