delete_relations
Remove one or more relations from a knowledge graph by specifying source, target, and relation type. Omit relation type to delete all connections between two entities.
Instructions
Delete multiple relations from the knowledge graph.
Each relation must have: from (str), to (str), relationType (str). If relationType is omitted, all relations between from and to are deleted.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |