set_tag
Define or update an animation tag on a sprite, specifying frame range and playback direction (forward, reverse, pingpong).
Instructions
Create or update an animation tag on the sprite.
direction: forward | reverse | pingpong | pingpong_reverse
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 |
|---|---|---|---|
| name | Yes | ||
| filename | Yes | ||
| to_frame | Yes | ||
| direction | No | forward | |
| from_frame | Yes |