Save Document
save_documentSave the active Illustrator document in the background without bringing Illustrator to the foreground. Choose overwrite or save-as to a specified or auto-generated path.
Instructions
Save the active Illustrator document. Runs without activating Illustrator in default background mode; never invokes Computer Use.
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": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | save = overwrite, save_as = save to new path | save |
| path | No | File path for save_as mode. If omitted, auto-generates in the same directory as the document (or ~/Desktop for unsaved documents) |