update_relation
Modify an existing relation in the Memento MCP knowledge graph by updating properties such as strength, confidence, metadata, timestamps, validity periods, and version details.
Instructions
Update an existing relation with enhanced properties in your Memento MCP knowledge graph memory
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relation | Yes |
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"
}