execute_indesign_code
Run custom ExtendScript in Adobe InDesign to automate document creation, editing, and export tasks, enabling direct control over InDesign workflows.
Instructions
Execute custom InDesign ExtendScript code
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": {
"code": "<code>"
},
"name": "execute_indesign_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ExtendScript code to execute |