set_frame_duration
Set frame durations in milliseconds for one frame, a range, list, tag, or all frames to adjust Aseprite animation timing.
Instructions
Sets frame durations in milliseconds for one frame, a range, a list, a tag, or 'all'.
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": {
"durationMs": "<durationMs>"
},
"name": "set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last frame of a range | |
| tag | No | Use the frames of this tag | |
| from | No | First frame of a range | |
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| frame | No | 1-based frame number. Defaults to the active frame (or 1). | |
| frames | No | 'all' or a list of frame numbers | |
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| durationMs | Yes |