play_animation
Plays a named animation on a specified AnimationPlayer node in Godot, enabling AI-driven scene animation control.
Instructions
Play an animation on 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": "play_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path to the AnimationPlayer | |
| animation_name | Yes | Name of the animation to play |