Set clip keyframes
set_keyframes[write] Replace a clip's property keyframes. Values ease between keyframes and hold outside them. Keyframes animate position, scale, rotation, opacity, blur and colour at clip-local times; an empty list clears them. Use for push-ins, custom moves, blur-ins and fades to black and white. Not for adding one point to what is there (use add_keyframe) or preset motion (use set_clip_animation). Returns the changed clips' rows (with handles) and counts. Related: add_keyframe, set_clip_transform, set_clip_animation. Full docs: load_skill with tools: [name].
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_id": "<project_id>"
},
"name": "set_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | get_timeline handle. | |
| items | No | Many clips at once, max 60, each with this tool's fields. | |
| keyframes | No | Keyframes with add_keyframe's fields; [] clears them. | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). |