From a37292fb0703fd102337540461eab626e034a531 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Tue, 14 Apr 2026 19:24:49 +0530 Subject: [PATCH] refactor: simplify question argsSchema definition in mcp-server.ts by collapsing multiline Zod schema into a single line. --- src/mcp-server.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mcp-server.ts b/src/mcp-server.ts index 86ff764..1dd9a60 100644 --- a/src/mcp-server.ts +++ b/src/mcp-server.ts @@ -198,9 +198,7 @@ export async function main() { description: "How to orchestrate ask262 tools to explore JavaScript internals", argsSchema: { - question: z - .string() - .describe("Question"), + question: z.string().describe("Question"), }, }, async ({ question }) => ({