set_stroke_options
Set a node's stroke alignment (INSIDE, OUTSIDE, CENTER) and/or stroke weight to control border appearance in Figma designs.
Instructions
Set the stroke alignment (INSIDE, OUTSIDE, CENTER) and/or the stroke weight of a node.
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": "set_stroke_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | ||
| nodeId | Yes | ID of the node | |
| weight | No |