MCP Think Tank

by flight505
MIT License
152
2
  • Apple
  • Linux

delete_relations

Remove specified relationships from the knowledge graph by providing source entity, target entity, and relation type, optimizing data accuracy and organization.

Instructions

Delete multiple relations from the knowledge graph

Input Schema

NameRequiredDescriptionDefault
relationsYesArray of relations to delete

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "relations": { "description": "Array of relations to delete", "items": { "additionalProperties": false, "properties": { "from": { "description": "Source entity name", "minLength": 1, "type": "string" }, "relationType": { "description": "Type of relationship (in active voice)", "minLength": 1, "type": "string" }, "to": { "description": "Target entity name", "minLength": 1, "type": "string" } }, "required": [ "from", "to", "relationType" ], "type": "object" }, "type": "array" } }, "required": [ "relations" ], "type": "object" }
ID: pgg03wdx49