apply_character_style
Apply a named character style to a specific character range within an InDesign text frame, formatting text with the chosen style.
Instructions
Apply a character 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>"
},
"name": "apply_character_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endIndex | No | End character index (-1 for all) | |
| styleName | Yes | Character style name | |
| frameIndex | No | Text frame index (0-based) | |
| startIndex | No | Start character index |