tigergraph__get_graph_schema
Retrieve graph schema as JSON, listing vertex types, edge types, and attributes, for query building and validation.
Instructions
Get the schema of a specific graph — vertex types, edge types, and their attributes — as structured JSON. Returns schema only, not queries or jobs.
Use When: • You need to know vertex/edge types and their attributes • Building or validating queries against the schema • Programmatic schema inspection or comparison
Quick Start:
{
"graph_name": "SocialNetwork"
}Tips: • Returns structured JSON (vertex types, edge types, attributes) • For a full listing including queries and jobs, use 'show_graph_details' • For just graph names, use 'list_graphs'
Related Tools: show_graph_details (full listing), list_graphs (names only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. |