ink_layer
Convert a vector layer into an editable ink layer so both you and the user can keep drawing; the level file becomes the source of truth and OpenToonz edits no longer lock it.
Instructions
Turn a vector layer into an ink layer, so you and the user can both keep drawing on it. Its level file becomes the only truth: the shapes it was built from are dropped, it is never recompiled, and edits made in OpenToonz no longer lock it. After this use stroke / read_drawing / erase_stroke; draw no longer applies.
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": {
"scene": "<scene>",
"layer": "<layer>"
},
"name": "ink_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| scene | Yes |