set_layer
Configure a layer's visibility, opacity, boil, style, and timing in an OpenToonz scene to control how it renders and animates.
Instructions
Layer properties: visible, opacity (0-1, renders), boil, style (needs redraw), timing 'auto'|'manual'.
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": "set_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boil | No | ||
| layer | Yes | ||
| scene | Yes | ||
| style | No | ||
| timing | No | ||
| opacity | No | ||
| visible | No |