set_tag
Create a named animation tag spanning a frame range in an Aseprite sprite, or update the existing tag with that name. Set playback direction and repeat count.
Instructions
Create a tag over frames from_frame..to_frame, or update the tag with that name.
If several tags share the name, the first one is updated.
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": "<name>",
"from_frame": "<from_frame>",
"to_frame": "<to_frame>"
},
"name": "set_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name, matched exactly | |
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| repeat | No | Times to play the tag; 0 loops forever | |
| to_frame | Yes | 1-based frame number | |
| direction | No | Playback direction of the tag | forward |
| from_frame | Yes | 1-based frame number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||