apply_style
Applies a local Figma style by ID or exact name to a node's text, effect, fill, stroke, or grid property, enabling consistent styling without manual selection.
Instructions
Apply a local style (by ID or exact name) to a node: TEXT, EFFECT, FILL, STROKE or GRID.
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>",
"kind": "<kind>",
"style": "<style>"
},
"name": "apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| style | Yes | ||
| nodeId | Yes |