dataMerge_removeDataSource
Removes the active data merge source from an InDesign document, unlinking its fields so you can attach a different data file.
Instructions
Remove the current data source from the 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": "dataMerge_removeDataSource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |