set_animation_keyframe
Sets a keyframe value on a specified AnimationPlayer track at a given time to control animation properties in Godot.
Instructions
Set a keyframe value on an animation track.
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>",
"track_index": "<track_index>",
"time": "<time>",
"value": "<value>"
},
"name": "set_animation_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time position in seconds | |
| value | Yes | Keyframe value | |
| node_path | Yes | Path to the AnimationPlayer | |
| track_index | Yes | Zero-based track index | |
| animation_name | Yes | Animation name |