Create Graph Node
create_graph_nodeCreate a single node in a deployed graph project.
REQUIRES: Project must be deployed (use deploy_graph_staging first).
The entity_type must match an entity key from the project schema. Use get_graph_data_schema to see available entity types and their fields.
Example: entity_type: "person" entity_id: "alan-turing-001" data: {"name": "Alan Turing", "birth_year": 1912, "field": "Computer Science"}
The entity_id is your unique identifier — use meaningful IDs for knowledge graphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Node properties matching the entity schema | |
| entity_id | Yes | Unique identifier for the node | |
| project_id | Yes | Project ID (UUID) | |
| entity_type | Yes | Entity key (e.g., 'person', 'concept') | |
| environment | No | Environment: staging or production (default: staging) |