apply_stroke_style
Apply a paint style to a node's strokes to keep borders consistent with your design system. Use set_stroke_color instead for raw color, weight, align, or dash values.
Instructions
Apply a paint style to a node's strokes (design-system preferred). For raw color/weight/align/dash without a style, use set_stroke_color instead.
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>"
},
"name": "apply_stroke_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| styleId | Yes |