removeNode
Delete a node from a knowledge graph, optionally cascading to remove connected edges. Helps manage and update graph structures by removing unwanted or outdated nodes.
Instructions
Remove a node from the knowledge graph
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": {
"id": "<id>"
},
"name": "removeNode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 要删除的节点 ID | |
| cascade | No | 是否级联删除相关的边 | |
| projectId | No | 项目 ID(可选,默认使用当前项目) |