text_applyParagraphStyle
Applies a named paragraph style to a text range in an InDesign document, using page, frame, and style name to format selected paragraphs.
Instructions
Apply a paragraph style to a text range
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>",
"frameIndex": "<frameIndex>",
"styleName": "<styleName>"
},
"name": "text_applyParagraphStyle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | ||
| styleName | Yes | ||
| frameIndex | 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. | |
| paragraphIndex | No |