validate_query
Validates GraphQL query syntax and checks entity/field existence against the schema. Get specific error messages and fix suggestions to avoid runtime errors.
Instructions
Check if your GraphQL query is valid before executing it.
Validates your GraphQL query syntax and verifies that all entities and fields exist in the schema. Catches errors early and provides specific suggestions for fixing issues. Always validate before executing to avoid runtime errors.
Args: query: The GraphQL query string to validate
Returns: Validation results with detailed error messages and fix suggestions if issues are found. A valid query means it's safe to execute.
Workflow: get_schema_summary → get_schema_entity → generate_query_template → You are here → execute_graphql
IMPORTANT
Always run this before calling execute_graphql
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |