Elasticsearch Knowledge Graph for MCP

by j3k0

delete_relations

Delete relationships from knowledge graph (memory)

Input Schema

NameRequiredDescriptionDefault
memory_zoneNoOptional memory zone specifier. If provided, relations will be deleted from this zone.
relationsYesList of relations to delete

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "memory_zone": { "description": "Optional memory zone specifier. If provided, relations will be deleted from this zone.", "type": "string" }, "relations": { "description": "List of relations to delete", "items": { "properties": { "from": { "description": "Source entity name", "type": "string" }, "to": { "description": "Target entity name", "type": "string" }, "type": { "description": "Relationship type", "type": "string" } }, "required": [ "from", "to", "type" ], "type": "object" }, "type": "array" } }, "required": [ "relations" ], "type": "object" }