introspect-schema
Retrieve GraphQL schema details or system manifest. Provide specific type names to get full SDL definitions, or omit them for a high-level federated overview.
Instructions
Retrieve GraphQL schema details or system manifest. READ-ONLY: Non-destructive metadata discovery. Usage: 1. If 'typeNames' is provided: Returns the full SDL (Schema Definition Language) for the requested types, including fields and relations. 2. If 'typeNames' is omitted: Returns a Federated Manifest—a high-level summary of connected nodes, their capabilities, and available domain entities (not the full schema). Use this to navigate the federated graph topology before executing queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | No | JSON stringified object of extra HTTP headers for the introspection request (e.g. '{"Authorization": "Bearer token"}'). | |
| endpoint | No | Optional target GraphQL HTTP/HTTPS URL to dynamically switch endpoint before execution. | |
| typeDepth | No | Depth of nested fields to retrieve (default: 2) | |
| typeNames | No | List of specific GraphQL type names to introspect. If provided, returns the detailed SDL definitions for these types. If omitted, returns a system-wide Federated Manifest overview. |