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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | The GraphQL query to validate |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"description": "The GraphQL query to validate",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}