Build HTML gallery player
sprite_galleryGenerates a self-contained HTML animation player with inline PNG frames, playback controls, onion skin, zoom, palette swatches, and frame tags for offline or sandboxed preview.
Instructions
Write a fully self-contained HTML animation player (inline base64 PNGs, playback controls, onion skin, zoom, palette swatches, frame tags). Works offline and in a sandboxed preview.
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": "sprite_gallery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| name | No | File name (default '<project>_gallery.html'). | |
| scale | No | ||
| title | No | ||
| project | No | Project id. Omit to use the active project. | |
| background | No |