RunSchemaCheck
Start a schema check of a proposed schema against a variant, the same check that rover graph check starts.
Use this for a monograph or for a whole supergraph schema; use RunSubgraphCheck for one subgraph.
The check runs in the background, so this returns a workflow ID and a Studio URL, not a result.
Pass the returned workflowID to GetCheckResults to read the outcome.
Provide the graph ID, the variant name, and the proposed schema as SDL.
Optionally provide the git branch and commit to label the run in Studio.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graphId": "<graphId>",
"variant": "<variant>",
"proposedSchema": "<proposedSchema>"
},
"name": "RunSchemaCheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| commit | No | ||
| graphId | Yes | ||
| variant | Yes | ||
| proposedSchema | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |