introspect-schema
Retrieve GraphQL schema and type definitions for initial discovery and analysis. Use typeNames to target specific types and avoid truncation on large APIs.
Instructions
Retrieve the full GraphQL schema and type definitions. READ-ONLY: This tool is strictly non-destructive. It fetches schema metadata and performs internal conflict resolution based on timestamps in memory. It does not modify, delete, or create data on the remote GraphQL endpoint. Use this for initial discovery and schema analysis before calling 'query-graphql'. Returns a structured JSON object containing type definitions and field specifications. If 'typeNames' is provided, it restricts output to those specific types. CAUTION: For large-scale schemas (e.g., GitHub GraphQL API or @neo4j/graphql models), the response may be truncated or empty if requested without filtering. Always use 'typeNames' to target specific segments when working with complex production schemas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeNames | No | List of specific GraphQL type names to introspect. If omitted, the full schema is returned (use with caution on large APIs). |