Frame operations
sprite_frameManage sprite animation frames by adding, duplicating, deleting, renaming, selecting, setting duration, tagging, and reordering them using 0-based indexes.
Instructions
add / duplicate / delete / rename / select / set_duration / tag / reorder frames. Index is 0-based.
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": {
"action": "<action>"
},
"name": "sprite_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination index for 'reorder'. | |
| all | No | For set_duration: apply to all frames. | |
| name | No | ||
| tags | No | ||
| frame | No | Target frame index/name (default active). | |
| action | Yes | ||
| project | No | Project id. Omit to use the active project. | |
| durationMs | No |