memento-mcp

by gannonh
Verified

update_relation

Modify and enhance existing relations in the Memento MCP knowledge graph by updating properties such as confidence, strength, metadata, and timestamps to ensure accurate and dynamic relationship management.

Instructions

Update an existing relation with enhanced properties in your Memento MCP knowledge graph memory

Input Schema

NameRequiredDescriptionDefault
relationYes

Input Schema (JSON Schema)

{ "properties": { "relation": { "properties": { "changedBy": { "description": "Optional user/system identifier", "type": "string" }, "confidence": { "description": "Optional confidence level in relation accuracy (0.0 to 1.0)", "type": "number" }, "createdAt": { "description": "Optional creation timestamp", "type": "number" }, "from": { "description": "The name of the entity where the relation starts", "type": "string" }, "id": { "description": "Optional relation ID", "type": "string" }, "metadata": { "additionalProperties": true, "description": "Optional metadata about the relation (source, timestamps, tags, etc.)", "type": "object" }, "relationType": { "description": "The type of the relation", "type": "string" }, "strength": { "description": "Optional strength of relation (0.0 to 1.0)", "type": "number" }, "to": { "description": "The name of the entity where the relation ends", "type": "string" }, "updatedAt": { "description": "Optional update timestamp", "type": "number" }, "validFrom": { "description": "Optional validity start timestamp", "type": "number" }, "validTo": { "description": "Optional validity end timestamp", "type": "number" }, "version": { "description": "Optional relation version", "type": "number" } }, "required": [ "from", "to", "relationType" ], "type": "object" } }, "required": [ "relation" ], "type": "object" }
ID: r8o11c6krf