create_animation
Creates a new animation in an AnimationPlayer node from a node path and animation name, with optional length, enabling AI-driven Godot animation setup.
Instructions
Create a new animation in an AnimationPlayer node.
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>"
},
"name": "create_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Animation length in seconds | |
| node_path | Yes | Path to the AnimationPlayer | |
| animation_name | Yes | Name for the new animation |