MemoryMesh

update_edges

Modify existing edges in the knowledge graph by updating edge types, node connections, and weights to refine data relationships efficiently.

Instructions

Update existing edges in the knowledge graph

Input Schema

NameRequiredDescriptionDefault
edgesYesArray of edges to update

Input Schema (JSON Schema)

{ "properties": { "edges": { "description": "Array of edges to update", "items": { "description": "Edge to update", "properties": { "edgeType": { "description": "Current edge type", "type": "string" }, "from": { "description": "Current source node name", "type": "string" }, "newEdgeType": { "description": "New edge type", "type": "string" }, "newFrom": { "description": "New source node name", "type": "string" }, "newTo": { "description": "New target node name", "type": "string" }, "newWeight": { "description": "Optional new edge weight (0-1 range)", "maximum": 1, "minimum": 0, "type": "number" }, "to": { "description": "Current target node name", "type": "string" } }, "required": [ "from", "to", "edgeType" ], "type": "object" }, "type": "array" } }, "required": [ "edges" ], "type": "object" }
ID: kf6n6221pd