MemoryMesh

add_nodes

Add multiple new nodes in the knowledge graph

Input Schema

NameRequiredDescriptionDefault
nodesYesArray of nodes to add

Input Schema (JSON Schema)

{ "properties": { "nodes": { "description": "Array of nodes to add", "items": { "description": "Node to add", "properties": { "metadata": { "description": "An array of metadata contents associated with the node", "items": { "description": "Metadata item", "type": "string" }, "type": "array" }, "name": { "description": "The name of the node", "type": "string" }, "nodeType": { "description": "The type of the node", "type": "string" } }, "required": [ "name", "nodeType", "metadata" ], "type": "object" }, "type": "array" } }, "required": [ "nodes" ], "type": "object" }