apply_style
Applies a local fill, stroke, text, or effect style to a Figma node by style ID, using IDs retrieved with get_styles.
Instructions
Apply a local fill, stroke, text or effect style (IDs from get_styles)
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>",
"styleId": "<styleId>",
"kind": "<kind>"
},
"name": "apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| nodeId | Yes | The node's ID | |
| styleId | Yes | The style's ID |