figma_set_stroke
Sets a single solid stroke on a Figma node by specifying its ID, color, and weight, enabling precise border styling during canvas edits.
Instructions
设置单层实线描边。
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>",
"color": "<color>",
"weight": "<weight>"
},
"name": "figma_set_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| nodeId | Yes | ||
| weight | Yes |