add_frames
Append empty or copied frames to an Aseprite animation and optionally set frame durations; use count=0 to adjust durations only.
Instructions
Append count frames, either empty or copied from frame copy_from.
Copying a frame and then editing the copy is the simplest way to animate. Optionally
sets duration_ms on frames duration_from..duration_to (default: all frames); use
count=0 to change durations only. Existing animation tags are left unchanged.
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": {
"path": "<path>"
},
"name": "add_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| count | No | ||
| copy_from | No | ||
| duration_ms | No | ||
| duration_to | No | ||
| duration_from | No |