Bulk Create Graph Nodes
bulk_create_graph_nodesCreate multiple nodes at once (up to 500 per call). Uses Neo4j UNWIND for high performance.
Essential for knowledge graph population — create hundreds of entities from a single book chapter or article.
Each node needs: entity_id (unique string) and data (properties dict).
Example: entity_type: "concept" nodes: [ {"entity_id": "quantum-mechanics-001", "data": {"name": "Quantum Mechanics", "field": "Physics"}}, {"entity_id": "wave-function-001", "data": {"name": "Wave Function", "field": "Physics"}}, {"entity_id": "superposition-001", "data": {"name": "Superposition", "field": "Physics"}} ]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"entity_type": "<entity_type>",
"nodes": "<nodes>"
},
"name": "bulk_create_graph_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | List of nodes. Each: {entity_id: string, data: {properties}} | |
| project_id | Yes | Project ID (UUID) | |
| entity_type | Yes | Entity key for all nodes | |
| environment | No | Environment: staging or production (default: staging) |