export_layer
Export a single layer from a specific frame as a PNG, excluding other layers. Overwrite controls replacing existing output; default prevents overwriting.
Instructions
Export a single layer of one frame as a PNG (others excluded).
overwrite: Replace `output` if it already exists (default False = no-clobber).
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": {
"filename": "<filename>",
"layer": "<layer>",
"output": "<output>"
},
"name": "export_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Default: 1. | |
| layer | Yes | ||
| scale | No | Default: 1. | |
| output | Yes | ||
| filename | Yes | ||
| overwrite | No | Default: false. |