delete_relations
Remove multiple relations from a knowledge graph in one operation, simplifying data cleanup and graph management.
Instructions
Delete multiple relations 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": {
"relations": "<relations>"
},
"name": "delete_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | List of dicts with keys: from, to, relationType. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |