add_animation_library
Create a new animation library for a player in a Godot scene by providing the scene path and library name. Optionally link existing animation sub-resources.
Instructions
Add animation library to player.
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": {
"scene_path": "<scene_path>",
"animation_name": "<animation_name>"
},
"name": "add_animation_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| animations | No | Reserved UIDs of existing Animation sub-resources | |
| scene_path | Yes | Path to .tscn scene file | |
| animation_name | Yes | Name for the new animation library |