Krita Export Layers
krita_export_layersExport each top-level Krita layer as its own trimmed PNG and get per-layer paths, enabling AI clients to access individual layers from a painting for downstream pixel-art workflows.
Instructions
Export every top-level layer as its own PNG (trimmed to its bounds). Defaults to the plugin's canvas output dir; returns per-layer paths.
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": "krita_export_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||