delete_node
Delete a Figma node by nodeId inside the allowed target frame; confirmFrameOrPageDeletion: true is required to remove a page or top-level frame.
Instructions
Delete a node by nodeId (only within the allowed target frame). Deleting a page or a top-level frame requires confirmFrameOrPageDeletion: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| confirmFrameOrPageDeletion | No | Required true to delete a PAGE or a top-level FRAME. |