create_node
Add a new node to a graph database with specified labels and optional properties. Ideal for inserting a single entity like a person or company.
Instructions
Create a new node in the graph with the given labels and properties.
Use this tool when: you need to add a single new entity to the graph. Do NOT use this for: bulk inserts (use execute_gql with INSERT/CREATE statements) or creating relationships (use create_edge).
Args: labels: One or more node labels (e.g. ["Person"] or ["Person", "Employee"]). properties: Optional key-value properties (e.g. {"name": "Alice", "age": 30}). Omit or pass null for a node with no properties.
Returns: JSON with the created node's id, labels, and properties.
Examples: create_node(["Person"], {"name": "Alice", "age": 30}) create_node(["Company"], {"name": "Acme", "founded": 2010}) create_node(["Tag"]) # no properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | ||
| properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |