close_document
Close the active InDesign document, optionally saving changes first, and require confirmation before discarding unsaved data to prevent loss.
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 |