apply_paragraph_style
Apply a specific paragraph style to selected text within a text frame in an Adobe InDesign document.
Instructions
Apply a paragraph style to text
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>",
"frameIndex": "<frameIndex>"
},
"name": "apply_paragraph_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endIndex | No | End character index (optional) | |
| pageIndex | No | Page index | |
| styleName | Yes | Paragraph style name | |
| frameIndex | Yes | Text frame index | |
| startIndex | No | Start character index (optional) |