Run AniCraft engine commands
run_anicraft_commandsRun ordered AniCraft animation commands to create or edit drawings, layers, timelines, motion, symbols, text, paint, filters, camera, scenes and bones on a new or opened file, then export it in formats like GIF, MP4, Lottie or sprite sheet.
Instructions
Advanced: run any AniCraft commands in order (draw., element., layer., timeline., motion., symbol., text., paint., filter., camera., scene., bone....) plus the engine tools anicraft_document / anicraft_render (step id = the tool name), on a new or an opened animation, then save. Frames are 0-based. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[0].element". Commands that would lose work need "confirm": true.
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": "run_anicraft_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name for the outputs, without extension. | anicraft |
| steps | No | ||
| formats | No | Save the result (needs output_dir or output_path). | |
| preview | No | Return a picture of the result. | |
| open_path | No | Absolute file to open first (never saved over; save a copy with formats). | |
| overwrite | No | ||
| output_dir | No | ||
| output_path | No | ||
| stop_on_error | No |