introspect-schema
Retrieve GraphQL schema details or a federated manifest: pass typeNames to get SDL definitions for selected types, or omit them for a high-level topology 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "introspect-schema"
}
}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 (0 to 5, default: 2) | |
| typeNames | No | List of specific GraphQL type names to introspect (max 20 types per request). If provided, returns the detailed SDL definitions for these types. If omitted, returns a system-wide Federated Manifest overview. |