memento-mcp

by gannonh
Verified

create_relations

Establish new connections between entities in the Memento MCP knowledge graph, specifying relation types, strengths, and metadata for enhanced memory organization and analysis.

Instructions

Create multiple new relations between entities in your Memento MCP knowledge graph memory. Relations should be in active voice

Input Schema

NameRequiredDescriptionDefault
relationsYes

Input Schema (JSON Schema)

{ "properties": { "relations": { "items": { "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" }, "type": "array" } }, "required": [ "relations" ], "type": "object" }
ID: r8o11c6krf