set_range_font_size
Set the font size for a specific range of text in a Figma text node by providing node ID, start index, end index, and new font size in pixels.
Instructions
Set the font size for a specific 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": {
"nodeId": "<nodeId>",
"start": "<start>",
"end": "<end>",
"fontSize": "<fontSize>"
},
"name": "set_range_font_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End index of the range (exclusive) | |
| start | Yes | Start index of the range (inclusive) | |
| nodeId | Yes | The ID of the text node | |
| fontSize | Yes | Font size in pixels |