Set Text Range Style
set_text_range_styleApply styles to a specific character range in a text node, including font size, font name, fills, letter spacing, line height, text decoration, and text case.
Instructions
Apply styles to a character range: fontSize, fontName, fills, letterSpacing, lineHeight, textDecoration, textCase
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": {
"nodeId": "<nodeId>",
"start": "<start>",
"end": "<end>",
"props": "<props>"
},
"name": "set_text_range_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End index (exclusive) | |
| props | Yes | Style props | |
| start | Yes | Start index (0-based) | |
| nodeId | Yes | Text node ID |