Change the timing
keyframe_timingAdjust keyframe length in ticks, project frame rate, or canvas dimensions to control animation timing and output resolution.
Instructions
Change how long the animation runs: the length of a keyframe, the frame rate of the whole project, or the size of the canvas. A keyframe length is in ticks; at 24 fps a length of 24 is one second. A keyframe number here is a stored pose, which is what the file keeps.
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": {
"action": "<action>"
},
"name": "keyframe_timing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | For "fps": the new frame rate. | |
| frame | No | The keyframe to work on. Defaults to the playhead. | |
| ticks | No | For "duration": the new keyframe length. | |
| width | No | For "canvas": the new width in pixels. | |
| action | Yes | What to change. | |
| frames | No | The keyframes whose length to change. | |
| height | No | For "canvas": the new height in pixels. | |
| project | No | The id of an open project, from project_open. Defaults to the project used most recently. |