update_node
Set properties like position, size, fill, text, and layout on a Figma scene node. Apply changes directly; inspect after errors and use Figma Undo to revert.
Instructions
Set supported properties on one scene node. fill/stroke use #RRGGBB or null. Edits are not transactional; inspect after errors. Figma Undo is available.
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>",
"props": "<props>"
},
"name": "update_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | Yes | ||
| nodeId | Yes |