manage_frames
Add, delete, or set frame durations in Aseprite animations using frame numbers, counts, copy options, and millisecond timing.
Instructions
Add frames (copied or empty), delete frames, or set frame durations (ms).
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": "<file>",
"action": "<action>"
},
"name": "manage_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | Copy previous frame contents when adding (default true). | |
| file | Yes | ||
| after | No | Insert after this frame number (default end). | |
| count | No | Number of frames to add (default 1). | |
| frame | No | Frame(s) to delete. | |
| action | Yes | ||
| frames | No | Frame(s) for set_duration (default 'all'). | |
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). | |
| duration | No | Duration in milliseconds. |