close_document
Close the active InDesign document, with optional save and confirmation to avoid losing unsaved changes.
Instructions
Close 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": "close_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Save before closing | |
| confirmDestructive | No | REQUIRED: Confirm potential data loss |