add_frames
Insert one or more frames into a sprite animation at a chosen position, copying existing cels or creating blank frames.
Instructions
Adds frames. By default copies the previous frame's cels; empty=true adds blank frames.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Frame number for the first new frame (default: end) | |
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| count | No | ||
| empty | No | ||
| 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 | |
| copyFrom | No | Frame to copy (default: the frame before 'at') | |
| durationMs | No |