save_document
Save the current InDesign document, optionally to a new file path, and confirm overwriting existing files to prevent unintended data loss.
Instructions
Save the current document
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 |
|---|---|---|---|
| filePath | No | Optional: Save as new file path | |
| confirmDestructive | No | REQUIRED: Confirm overwrite of existing files |