figma_apply_style
Apply a style to a Figma node by style ID or name. Specify the style property (fill, stroke, text, effect, grid) to update node styling.
Instructions
Apply a style to a node by ID or by name. Provide styleId to apply by ID, or styleName to apply by name. Requires plugin connection.
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>"
},
"name": "figma_apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| styleId | No | Style ID — use when you have the exact ID | |
| property | No | Required when using styleId | |
| styleName | No | Style name — use to apply a local style by name | |
| styleType | No | Style type hint when using styleName | auto |