set_tag
Create or update animation tags to define frame ranges within a sprite. Specify start and end frames with optional playback direction.
Instructions
Create or update an animation tag on the sprite.
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>",
"name": "<name>",
"from_frame": "<from_frame>",
"to_frame": "<to_frame>"
},
"name": "set_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| name | Yes | ||
| from_frame | Yes | ||
| to_frame | Yes | ||
| direction | No | forward |