figma_update_nodes
Update existing Figma layers by node ID with new editable properties; reports partial writes on errors so you can inspect and adjust before retrying.
Instructions
Update layers. updatesJson is an array of {nodeId,props}; props use the same editable properties as create_nodes (no type/children). Partial writes are reported on errors; inspect before retrying.
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": {
"targetDocumentId": "<targetDocumentId>",
"updatesJson": "<updatesJson>"
},
"name": "figma_update_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page ID to select before running. | |
| updatesJson | Yes | ||
| targetDocumentId | Yes | documentId returned by figma_document; protects against editing a different file. |