dataMerge_export
Export a merged InDesign document after a data merge to PDF, JPG, or INDD at a specified path from the chosen open document.
Instructions
Export the merged document to a file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"format": "<format>",
"outputPath": "<outputPath>"
},
"name": "dataMerge_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| outputPath | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |