ValidateOperations
Validate client GraphQL operations against a variant's published schema and return each problem's type (FAILURE, WARNING, INVALID), code, description, and the name of the operation it came from.
This is the same check that rover client check runs.
Nothing is published and no state changes.
Provide the graph ID and the operations, each one a body and an optional name.
Optionally name the variant to validate against; the default is "current".
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>",
"operations": "<operations>"
},
"name": "ValidateOperations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | Yes | ||
| variant | No | current | |
| operations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |