set_stroke_color
Set the stroke color of a Figma node: specify node ID, RGBA values, and stroke weight for design edits.
Instructions
Set the stroke color of a 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>",
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "set_stroke_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | Alpha component (0-1) | |
| b | Yes | Blue component (0-1) | |
| g | Yes | Green component (0-1) | |
| r | Yes | Red component (0-1) | |
| nodeId | Yes | The ID of the node to modify | |
| weight | No | Stroke weight |