export_batch
Batch export Inkscape layers to individual files or render a document at multiple DPIs, with per-item success reporting to isolate failures.
Instructions
Batch export. operation='layers-to-files' writes every Inkscape layer to its own file; operation='multi-dpi' writes one document at several DPIs. Reports per-item success so one bad layer does not hide the rest.
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": "export_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Export resolution in dots per inch. | |
| dpis | No | Several DPI values, for a multi-resolution export. | |
| format | No | Output format: png, svg, pdf, ps, eps. | |
| operation | No | Which operation to run. See the tool summary for valid values. | |
| input_path | No | Source file to read. | |
| output_dir | No | Directory to write multiple files into. |