GetGraphSchema
Read the schema (SDL) that is currently published to a graph variant, with its hash and publication time.
This is the same read that rover graph fetch performs.
The response holds the whole document and is not truncated.
A large federated graph measured over 800,000 characters, roughly 200,000 tokens, which exceeds the context window of most models.
Prefer GetSubgraphSchema, which reads one subgraph at a time, and use this tool only when you need the whole API schema.
Provide the graph ID and the variant name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | Yes | ||
| variant | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |