create_master_rectangle
Place a rectangle on a specific InDesign master spread by specifying position, size, fill, stroke, and corner radius to establish consistent page layouts.
Instructions
Create a rectangle on a master spread
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": {
"masterName": "<masterName>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "create_master_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position in mm | |
| y | Yes | Y position in mm | |
| width | Yes | Width in mm | |
| height | Yes | Height in mm | |
| fillColor | No | Fill color (RGB hex or swatch name) | |
| masterName | Yes | Master spread name | |
| strokeColor | No | Stroke color | |
| strokeWidth | No | Stroke width in points | |
| cornerRadius | No | Corner radius in mm |