delete_animation
Deletes a specified animation from an AnimationPlayer node using its node path and animation name, enabling cleanup of unused animations in Godot.
Instructions
Delete an animation from 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": "delete_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path to the AnimationPlayer | |
| animation_name | Yes | Name of the animation to delete |