delete_node
Deletes a single graph node and optionally removes its connected edges in one step, failing when edges remain if detach is false.
Instructions
Delete one node, and with detach its edges, in one step.
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": {
"node_id": "<node_id>"
},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detach | No | Also delete its edges (true), or fail when it has any. | |
| node_id | Yes |