delete_relations
Remove specific relations from the Knowledge Graph Memory Server by specifying 'from', 'to', and 'relationType' for efficient data management.
Instructions
Delete multiple relations from the knowledge graph
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes | An array of relations to delete |
Input Schema (JSON Schema)
{
"properties": {
"relations": {
"description": "An array of relations to delete",
"items": {
"properties": {
"from": {
"description": "The name of the entity where the relation starts",
"type": "string"
},
"relationType": {
"description": "The type of the relation",
"type": "string"
},
"to": {
"description": "The name of the entity where the relation ends",
"type": "string"
}
},
"required": [
"from",
"to",
"relationType"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}