set_keyframe
Set a keyframe on a Godot animation track. Provide scene path, animation name, track index, time, and value to define keyframe properties.
Instructions
Set keyframe on 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": {
"scene_path": "<scene_path>",
"animation_name": "<animation_name>",
"track_index": "<track_index>",
"time": "<time>",
"value": "<value>"
},
"name": "set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time in seconds | |
| value | Yes | Value at keyframe (e.g. "Vector2(100, 0)", "1.5") | |
| easing | No | Easing weight (0=custom, 1=auto, >1=ease in, <-1=ease out) | |
| scene_path | Yes | Path to .tscn scene file | |
| track_index | Yes | Track index (0-based) | |
| animation_name | Yes | Animation name |