create_animation
Create a new animation on an AnimationPlayer node. Set its name, length, loop mode, and library.
Instructions
Create a new animation on 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": {
"player_path": "<player_path>",
"name": "<name>"
},
"name": "create_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Animation name | |
| length | No | Animation length in seconds (default: 1.0) | |
| library | No | Animation library name (empty for default) | |
| loop_mode | No | Animation loop mode | none |
| player_path | Yes | AnimationPlayer node path |