page_applyMaster
Apply a master spread to a specified page in an open InDesign document, assigning consistent layout elements by page index and master name.
Instructions
Apply a master spread to a page
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": {
"pageIndex": "<pageIndex>",
"masterName": "<masterName>"
},
"name": "page_applyMaster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | ||
| masterName | 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. |