create_border_gradient
Adds a gradient border to any Figma node by placing a slightly larger frame behind it. Specify the target node and start/end hex colors to apply the effect.
Instructions
Create a gradient border effect using a slightly larger frame behind.
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>",
"startColor": "<startColor>",
"endColor": "<endColor>"
},
"name": "create_border_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Border width (default: 1) | |
| nodeId | Yes | Target node | |
| endColor | Yes | End color hex | |
| startColor | Yes | Start color hex |