apply_object_style
Apply a named object style to a page item. Specify shape type and index to target the exact element in Adobe InDesign.
Instructions
Apply an object style to a page item
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": {
"styleName": "<styleName>"
},
"name": "apply_object_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemType | No | rectangle | |
| itemIndex | No | Item index | |
| styleName | Yes | Object style name |