animation_create
Create a new Animation resource and attach it to a Godot scene, specifying name, duration, and looping behavior.
Instructions
Create an Animation resource and add it to a scene.
Category: Animation
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) animation_name: Name of the animation to create duration: Duration of the animation in seconds (default: 1.0) loop: Whether the animation should loop (default: False)
Returns: Success message or error description
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"animation_name": "<animation_name>"
},
"name": "animation_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| animation_name | Yes | ||
| duration | No | ||
| loop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |