create_tag
Define an animation tag on a range of frames for a sprite file, setting name, direction, and color to organize animations.
Instructions
Create an animation tag on a range of frames
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": {
"filePath": "<filePath>",
"tagName": "<tagName>",
"fromFrame": "<fromFrame>",
"toFrame": "<toFrame>"
},
"name": "create_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| tagName | Yes | Name for the tag | |
| fromFrame | Yes | Start frame (1-indexed) | |
| toFrame | Yes | End frame (1-indexed) | |
| aniDir | No | Animation direction (default: forward) | |
| color | No | Tag color as hex (#RRGGBB) | |
| savePath | No | Path to save |