tigergraph__validate_schema_names
Validate vertex, edge, attribute, and graph names against GSQL reserved keywords and naming conflicts before graph creation to catch errors early.
Instructions
Validate vertex type names, edge type names, attribute names, and the graph name against GSQL reserved keywords and naming conflict rules.
Use When:
Before calling 'create_graph' to catch naming problems early
Checking if user-supplied names conflict with GSQL keywords
Validating that vertex/edge type names don't collide with their attribute names
Quick Start:
{
"graph_name": "MyGraph",
"vertex_types": [
{"name": "SELECT", "attributes": [{"name": "count", "type": "INT"}]}
]
}(Returns warnings for 'SELECT' and 'count' as reserved keywords)
Related Tools: create_graph, get_graph_schema
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_types | No | Edge type definitions to validate (same format as create_graph). | |
| graph_name | No | Graph name to validate. | |
| vertex_types | No | Vertex type definitions to validate (same format as create_graph). |