add_animation_track
Add a track to an animation in a Godot scene by specifying scene path, animation name, and node property path. Supports track types like value, method, bezier, and audio.
Instructions
Add track to animation.
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>",
"animation_name": "<animation_name>",
"track_path": "<track_path>"
},
"name": "add_animation_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interp | No | Interpolation method | linear |
| scene_path | Yes | Path to .tscn scene file | |
| track_path | Yes | Node property path to animate (e.g. ".:position", "Sprite2D:modulate") | |
| track_type | No | Track type | value |
| animation_name | Yes | Name of the animation in AnimationPlayer |