Run a NEON GraphQL query
neon_graphqlRun read-only GraphQL queries against NEON's public metadata endpoint to retrieve data shapes not covered by other tools, with response pruning and type introspection.
Instructions
Read-only GraphQL against NEON's public metadata endpoint for shapes the other tools do not cover. Guard rails: queries only, allow-listed root fields, depth <= 8, one __type/__schema, results pruned to max_bytes with truncatedPaths. No token is sent. Prefer the dedicated tools for products, sites and availability. Next: read neon://reference/graphql-schema for types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | A read-only GraphQL query against https://data.neonscience.org/graphql (roots: products, product, filterProducts, sites, site, filterSites, location, locationHierarchy, findLocations, prototypeDatasets, prototypeDataset, one __type). | |
| max_bytes | No | Response budget; larger lists are pruned. | |
| variables | No | GraphQL variables. | |
| operation_name | No | Operation to run when the document has several. | |
| introspect_type | No | Instead of a query: describe one GraphQL type (e.g. Site, DataProductFilter). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| notes | No | ||
| errors | No | ||
| source | No | ||
| resolved | No | ||
| nextSteps | No | ||
| truncated | No | ||
| bytesTotal | Yes | ||
| schemaHint | No | neon://reference/graphql-schema | |
| truncatedPaths | No |