create_animation
Create an empty animation clip in Godot's AnimationPlayer default library, specifying duration and loop mode (none, linear, or ping-pong) for later keyframe editing.
Instructions
Create an empty Animation in an AnimationPlayer's default library with a length in seconds and a loop mode (0 none, 1 linear, 2 pingpong)
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>",
"name": "<name>"
},
"name": "create_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| length | No | ||
| loop_mode | No | ||
| node_path | Yes |