text_update_style
Update an existing text layer's typography by layer ID. Change font family, size, weight, color, alignment, spacing, or line height for precise design edits.
Instructions
Updates typography properties of an existing text layer by its layerId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New text content | |
| align | No | ||
| color | No | Hex color | |
| layerId | Yes | Layer ID of the text layer | |
| fontSize | No | Font size in pixels | |
| fontFamily | No | Font family name | |
| fontWeight | No | Font weight ("400", "600", "800") | |
| lineHeight | No | Line height | |
| charSpacing | No | Letter spacing |