MemoryMesh

add_metadata

Enhance nodes in the MemoryMesh knowledge graph by appending metadata. Input node names and associated content to enrich data structure and improve query accuracy.

Instructions

Add new metadata to existing nodes in the knowledge graph

Input Schema

NameRequiredDescriptionDefault
metadataYesArray of metadata to add

Input Schema (JSON Schema)

{ "properties": { "metadata": { "description": "Array of metadata to add", "items": { "description": "Metadata to add", "properties": { "contents": { "description": "An array of metadata contents to add", "items": { "description": "Metadata content item", "type": "string" }, "type": "array" }, "nodeName": { "description": "The name of the node to add the metadata to", "type": "string" } }, "required": [ "nodeName", "contents" ], "type": "object" }, "type": "array" } }, "required": [ "metadata" ], "type": "object" }
ID: kf6n6221pd