delete_node
Remove a scene node and all its descendants from a Figma design. Pages and the document cannot be removed; Figma Undo remains available.
Instructions
Delete a scene node and all its descendants. Cannot delete pages or the document. 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>"
},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes |