Export
exportConvert Illustrator objects, groups, artboards, or selections to SVG, PNG, or JPG. Supports batch artboard output and background processing without activating Illustrator.
Instructions
Export objects, groups, artboards, or selection. Use target "artboard:all" to batch-export every artboard in one call. For single PNG/JPG exports, the exported image is returned as base64 in the response — you can view it directly without reading the file from disk ("artboard:all" returns file paths only). Runs without activating Illustrator in default background mode; never invokes Computer Use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor | |
| format | Yes | Export format | |
| target | Yes | UUID, "artboard:<index>", "artboard:all" (batch-export every artboard; filenames get "_<n>-<artboardName>" suffixes), or "selection". When exporting a UUID target as PNG/JPG, a temporary document is created internally (selection state may change). | |
| output_path | No | Output file path. If omitted, auto-generates in the same directory as the document (or ~/Desktop for unsaved documents) | |
| svg_options | No | SVG export options | |
| raster_options | No | Raster export options |