export_document
Save or export the active Illustrator artwork as AI, PDF, SVG, EPS, PNG, or JPG to a specified local file path.
Instructions
Save or export the active Illustrator artwork as AI, PDF, SVG, EPS, PNG, or JPG to a local file path.
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": {
"outputPath": "<outputPath>",
"format": "<format>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Target vector or raster file format | |
| outputPath | Yes | Destination file path on the machine running Illustrator (e.g. C:/Designs/logo.svg) |