set_animation_param
Set a specified parameter—like length, loop mode, or step—for an animation in a Godot scene by providing the scene path, animation name, and new value.
Instructions
Set animation parameter.
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>",
"param": "<param>",
"value": "<value>"
},
"name": "set_animation_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| param | Yes | Parameter name (e.g. "length", "loop_mode", "step") | |
| value | Yes | New value for the parameter | |
| scene_path | Yes | Path to .tscn scene file | |
| animation_name | Yes | Name of the animation (as appears in AnimationPlayer) |