duplicate_frame
Copy an existing frame by its 1-based index and insert the copy directly after it in an Aseprite sprite; invalid frame numbers are rejected with the valid range.
Instructions
Duplicate an existing frame (1-based); the copy is inserted after it.
`frame` must already exist: an out-of-range number is rejected with the sprite's
valid range rather than clamped to it.
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": {
"filename": "<filename>",
"frame": "<frame>"
},
"name": "duplicate_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| filename | Yes |