edit_text_style
Update an existing text style by ID or name to change font, size, line height, letter spacing, and variable bindings.
Instructions
Edit an existing text style (by ID or name): font, size, line height (lineHeight {unit PIXELS|PERCENT|AUTO, value} or lineHeightPercent), letter spacing %, name, and variable bindings (fontFamily, fontWeight, fontSize, lineHeight, letterSpacing).
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": {
"style": "<style>"
},
"name": "edit_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| style | Yes | ||
| fontSize | No | ||
| fontStyle | No | ||
| fontFamily | No | ||
| lineHeight | No | Line height in pixels, percent or AUTO. Do not combine with lineHeightPercent. | |
| fontSizeVariable | No | ||
| lineHeightPercent | No | ||
| fontFamilyVariable | No | ||
| fontWeightVariable | No | ||
| lineHeightVariable | No | ||
| letterSpacingPercent | No | ||
| letterSpacingVariable | No |