document_save
Save the active InDesign document to its current location or a specified path, and choose whether to prompt on overwrite.
Instructions
Save the active InDesign document, optionally to a specific path
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": "document_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| saveOptions | No | yes |