game_create_animation
Creates an animation with defined tracks and keyframes on a Godot AnimationPlayer, letting you set length, loop mode, and library for the new animation.
Instructions
Create an animation with tracks and keyframes
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>",
"animationName": "<animationName>"
},
"name": "game_create_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Animation length in seconds. Default: 1.0 | |
| tracks | No | Array of track definitions | |
| library | No | Animation library name. Default: "" | |
| loopMode | No | 0=none, 1=linear, 2=pingpong | |
| nodePath | Yes | Path to AnimationPlayer node | |
| animationName | Yes | Name for the new animation |