quantize_animation_keyframes
Round animation keyframe timestamps in Godot .tscn/.tres files to fixed frame intervals, enabling consistent anime or film framerates.
Instructions
Stepped Framerate Quantizer: Round keyframe timestamps inside a .tscn/.tres file to fixed frame intervals -- e.g. 0.0833s for 12-fps anime look, 0.0417s for 24-fps film.
Args: file_path: Absolute path to the .tscn or .tres animation file. target_fps: Target framerate to quantize to (12 for anime, 24 for film). animation_name: Reserved for future filtering by animation 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": {
"file_path": "<file_path>"
},
"name": "quantize_animation_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| target_fps | No | ||
| animation_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |