Export / convert animations
export_animationExport one or many animations as GIF, MP4, WebM, APNG/WebP, HTML, Lottie, PNG/SVG frames or sequences, sprite sheets, or .anicraft. Inputs stay unchanged; outputs go beside each input or output_dir.
Instructions
Export one or many animations (.anicraft, Animate .fla / .xfl) as GIF, MP4, WebM, animated PNG / WebP, an HTML page, Lottie JSON, a frame as PNG / SVG, PNG or SVG sequences, sprite sheets, or convert them to .anicraft. Inputs are never changed; outputs go next to each input or into output_dir.
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": "export_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last frame to export. | |
| from | No | First frame to export (0-based; default the first). | |
| frame | No | png / svg: the frame to export (default 0). | |
| scale | No | Size of GIF / video / pictures relative to the stage (default 1). | |
| formats | No | ||
| input_dir | No | ||
| overwrite | No | ||
| output_dir | No | ||
| input_paths | No |