aseprite_set_frame_duration
Set frame durations in milliseconds across all frames or a specific range to control animation playback speed, e.g. 100 ms for 10 fps.
Instructions
Set frame durations in milliseconds. Applies to a range when from/to are given, otherwise to every frame. 100 ms = 10 fps is a good default; 40-80 ms suits fast actions like a run cycle.
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": "aseprite_set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Zero-based frame index (omit for the first frame). | |
| from | No | Zero-based frame index (omit for the first frame). | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. | |
| durationMs | Yes | Duration in milliseconds (default 100). |