opentoonz_live
Links AI edits to a running OpenToonz instance: check connection, scene and cursor status, save all, undo or redo, so strokes appear at once in the user's viewer.
Instructions
The live link to a running OpenToonz (needs the otbridge plugin, see bridge/README.md). action: 'status' (is OpenToonz connected, which scene is open, is it unsaved, which cell is the cursor on) | 'save' (File > Save All, so preview_frame / render / the files show what is on screen) | 'undo' | 'redo' (Edit > Undo / Redo in OpenToonz). When the scene you work on is open there, stroke, read_drawing and erase_stroke go through this link by themselves: strokes appear at once in the user's viewer.
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": "opentoonz_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status |