set_properties
Sets arbitrary properties on Figma nodes—such as name, opacity, layout, fills, text, and size—so you can edit design elements directly without manual changes.
Instructions
Set arbitrary properties on nodes (e.g. {"name":"Card","opacity":0.5,"layoutMode":"VERTICAL","itemSpacing":8,"fills":"#FF0000","characters":"Hi"}). fills/strokes accept a hex string; characters loads fonts; width/height resize.
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": {
"nodeIds": "<nodeIds>",
"props": "<props>"
},
"name": "set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| props | Yes | ||
| nodeIds | Yes |