add_tag
Add an animation tag to a specified frame range, set its name, color, direction, repeats, and properties, then save changes to the sprite.
Instructions
Adds an animation tag over a frame range.
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_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| data | No | ||
| from | No | ||
| name | No | ||
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| color | No | '#rrggbb', '#rrggbbaa', a name, a palette index, or {r,g,b,a} / {h,s,v,a} / {h,s,l,a} / {gray,a} | |
| aniDir | 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 | |
| repeats | No | 0 = infinite | |
| properties | No | User-defined properties to set (object.properties) |