Delete Relationship
delete_relationshipDelete a specific relationship between two memories by supplying source hash, target hash, and relation type.
Instructions
Remove a relationship between two memories.
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_hash": "<from_hash>",
"to_hash": "<to_hash>",
"relation_type": "<relation_type>"
},
"name": "delete_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_hash | Yes | SHA-256 hash of the target memory | |
| from_hash | Yes | SHA-256 hash of the source memory | |
| relation_type | Yes | Type of relationship to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |