delete_multiple_nodes
Delete multiple Figma nodes by nodeIds within an allowed target frame. Set confirmFrameOrPageDeletion to true when removing pages or top-level frames.
Instructions
Delete multiple nodes by nodeIds (only within the allowed target frame). When any nodeId is a page or top-level frame, confirmFrameOrPageDeletion: true is required for that node.
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": {
"nodeIds": "<nodeIds>"
},
"name": "delete_multiple_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | ||
| confirmFrameOrPageDeletion | No | Required true when nodeIds include a PAGE or a top-level FRAME. |