add_nodes
Expand knowledge graphs by adding multiple nodes with names, types, and associated metadata using this tool in the MemoryMesh MCP server.
Instructions
Add multiple new nodes in the knowledge graph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Array 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"
}