Update Graph Schema
update_graph_schemaUpdate a graph project's schema (saves to database, does NOT deploy).
⚠️ Follow ALL rules from create_graph_project: • Must have "nodes" key with at least one entity • Each entity needs "description" and "schema" with field definitions • Each field is {"type": "...", "required": true/false} — required defaults to false • Relationships need "from", "to", and "cardinality" • Field types: string, integer, float, boolean, date, json • Relationship types should be UPPER_SNAKE_CASE • Entity names should be PascalCase
WORKFLOW:
Use get_graph_schema to see current schema
Modify following all rules
Call update_graph_schema (saves only)
Call deploy_graph_staging to apply changes
Monitor with get_job_status
NOTE: This only saves the schema. You MUST call deploy_graph_staging afterwards to deploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | New graph schema with 'nodes' and optionally 'relationships' keys. | |
| project_id | Yes | Project ID (UUID) |