execute_graphql
Run a validated GraphQL query against a Gen3 data commons to retrieve research data.
Instructions
Execute your GraphQL query and retrieve data from the Gen3 data commons.
Runs your validated GraphQL query against the Gen3 data commons and returns the actual data. This is where you get real research data back. Make sure your query is validated first to avoid errors.
Args: query: A valid GraphQL query string (validated with validate_query)
Returns: The data results from your query. On success, data contains the requested information. On error, includes specific error details and suggestions for fixing the query.
Workflow: get_schema_summary → get_schema_entity → generate_query_template → validate_query → You are here
IMPORTANT
Always run validate_query on the query before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |