animate
Generate pixel animation frames or a spritesheet by applying motion types like walk, attack, or blink to a sprite or character seed.
Instructions
Animate a sprite or character with pixel motion. Returns multiple PNG frames or a spritesheet.
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": {
"motion": "<motion>"
},
"name": "animate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Sprite ID to animate (use this OR seed) | |
| seed | No | Character seed to animate (use this OR id) | |
| scale | No | Scale factor (default 4) | |
| motion | Yes | Motion type: idle, walk, attack, hurt, bounce, blink | |
| palette | No | Palette ID (default "pico8") |