add_frame
Add a new frame to the active sprite. Specify the insertion position or append at the end, and set the frame duration in milliseconds.
Instructions
Add a new frame to the active sprite.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Frame number to insert at (1-based). null = end. | |
| duration_ms | No | Frame duration in milliseconds (default: 125 = 8 FPS) |