set_range_font
Set the font family and style for a specific text range by specifying node ID, start and end indices, font family, and optional style.
Instructions
Set the font family and style 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>",
"fontFamily": "<fontFamily>"
},
"name": "set_range_font"
}
}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 | |
| fontStyle | No | Font style (e.g., 'Regular', 'Bold', 'Italic') | Regular |
| fontFamily | Yes | Font family name (e.g., 'Inter', 'Roboto') |