unlinkNodes
Remove a relationship between two nodes in a knowledge graph. Specify source and target nodes, with optional relationship type and project filtering.
Instructions
Remove a relationship between two nodes
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": {
"from": "<from>",
"to": "<to>"
},
"name": "unlinkNodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 目标节点 ID | |
| from | Yes | 源节点 ID | |
| type | No | 关系类型(可选,不指定则删除所有类型的边) | |
| projectId | No | 项目 ID(可选,默认使用当前项目) |