RunSubgraphCheck
Start a schema check of one proposed subgraph schema against a variant, the same check that rover subgraph check starts.
The check runs in the background, so this returns a workflow ID and a Studio URL, not a result.
Nothing is published, but the check run is recorded and shows in Studio.
Pass the returned workflowID to GetCheckResults as checkId to read the outcome.
Provide the graph ID, the variant name, the subgraph name, and the proposed subgraph 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>",
"subgraphName": "<subgraphName>",
"proposedSchema": "<proposedSchema>"
},
"name": "RunSubgraphCheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| commit | No | ||
| graphId | Yes | ||
| variant | Yes | ||
| subgraphName | Yes | ||
| proposedSchema | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |