set_letter_spacing
Set the letter spacing of a Figma text node to a specific value, choosing between pixels or percent units.
Instructions
Set the letter spacing of a text node in Figma
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>",
"letterSpacing": "<letterSpacing>"
},
"name": "set_letter_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| letterSpacing | Yes | Letter spacing value | |
| unit | No | Unit type (PIXELS or PERCENT) |