validate-query
Verify the validity of a GraphQL query prior to execution to prevent errors and ensure accurate results. Ideal for validating syntax and structure.
Instructions
Check if a GraphQL query is valid before executing it
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": {
"query": "<query>"
},
"name": "validate-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query to validate |