update_nodes
Modify existing nodes in the MemoryMesh knowledge graph by updating node types, metadata, or other properties, ensuring accurate and dynamic data representation.
Instructions
Update existing nodes in the knowledge graph
Input Schema
Name | Required | Description | Default |
---|---|---|---|
nodes | Yes | Array of nodes to update |
Input Schema (JSON Schema)
{
"properties": {
"nodes": {
"description": "Array of nodes to update",
"items": {
"description": "Node to update",
"properties": {
"metadata": {
"description": "An array of new metadata contents for the node",
"items": {
"description": "Metadata item",
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the node to update",
"type": "string"
},
"nodeType": {
"description": "The new type of the node",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"nodes"
],
"type": "object"
}