set_frame_duration
Set the display duration of a specific frame in milliseconds for an Aseprite sprite file.
Instructions
Set the duration of a frame in milliseconds
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": {
"filePath": "<filePath>",
"frameNumber": "<frameNumber>",
"durationMs": "<durationMs>"
},
"name": "set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| frameNumber | Yes | Frame number (1-indexed) | |
| durationMs | Yes | Duration in milliseconds | |
| savePath | No | Path to save |