delete_node
Remove one or multiple nodes in Figma using a unique node ID or an array of node IDs. Returns a detailed response with the deleted node IDs for confirmation.
Instructions
Deletes one or more nodes in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the deleted node's ID(s).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | The unique Figma node ID to delete. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'. | |
| nodeIds | No | Array of node IDs. Must contain at least 1 and at most 100 items. |