figma_delete_nodes
Delete exact Figma node IDs when explicitly requested or to clean up nodes created by the current task, with target-document protection.
Instructions
Delete exact node IDs. Use only for explicitly requested removal or cleaning nodes created by the current task. Normal Figma Undo remains 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": {
"targetDocumentId": "<targetDocumentId>",
"nodeIds": "<nodeIds>"
},
"name": "figma_delete_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | ||
| targetDocumentId | Yes | documentId returned by figma_document; protects against editing a different file. |