inspect
Analyze the GraphQL server's schema and capabilities to understand available queries, mutations, and data structures for API interaction.
Instructions
Inspect this server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __ignore__ | No | This does not do anything |
Implementation Reference
- src/index.ts:65-75 (handler)The handler function for the 'inspect' tool that logs 'Inspecting server' and returns a text content block with 'This is a test'.async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; }
- src/index.ts:59-64 (schema)Zod input schema for the 'inspect' tool, defining an optional ignored boolean parameter.{ __ignore__: z .boolean() .default(false) .describe("This does not do anything"), },
- src/index.ts:56-76 (registration)Registration of the 'inspect' tool via server.tool(), specifying name, description, input schema, and handler function.server.tool( "inspect", "Inspect this server", { __ignore__: z .boolean() .default(false) .describe("This does not do anything"), }, async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; } );