Opentoonz Draw Frames
opentoonz_draw_framesDraw and export an entire frame sequence from per-frame operation lists, saving each as a numbered PNG in the workspace and returning file paths.
Instructions
Draw a whole sequence of frames, one op-list per frame.
frames: list where each item is a list of ops for that frame (frame 1 first). Saves /drawings/<level_name>.%04d.png and returns the paths.
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": {
"workspace": "<workspace>",
"level_name": "<level_name>",
"frames": "<frames>"
},
"name": "opentoonz_draw_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| frames | Yes | ||
| height | No | ||
| workspace | Yes | ||
| background | No | #181a2e | |
| level_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |