figma_set_fill
Sets a single-layer solid color fill on a Figma node, or removes the fill entirely with clear to make a frame truly transparent. Use it when rebuilding pixel-accurate layouts in the open Figma file.
Instructions
设置单层纯色填充,或用 clear 去掉填充(透明 Frame,不要用 a:0 冒充去底)。
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": "figma_set_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| clear | No | ||
| nodeId | Yes |