Set raw Figma Plugin API property
figma.set_propertyModify Figma design file by setting any writable Plugin API property on the selected node, page, style, variable, or API namespace.
Instructions
Set any writable Plugin API property on figma, a node, page, style, variable, or API namespace.
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": {
"target": "<target>",
"property": "<property>",
"value": "<value>"
},
"name": "figma.set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| nodeId | No | ||
| pageId | No | ||
| target | Yes | ||
| styleId | No | ||
| property | Yes | ||
| imageHash | No | ||
| targetPath | No | ||
| variableId | No | ||
| variableCollectionId | No |