refactor: simplify question argsSchema definition in mcp-server.ts by collapsing multiline Zod schema into a single line.

This commit is contained in:
2026-04-14 19:24:49 +05:30
parent 2849fbb5cd
commit a37292fb07
+1 -3
View File
@@ -198,9 +198,7 @@ export async function main() {
description: description:
"How to orchestrate ask262 tools to explore JavaScript internals", "How to orchestrate ask262 tools to explore JavaScript internals",
argsSchema: { argsSchema: {
question: z question: z.string().describe("Question"),
.string()
.describe("Question"),
}, },
}, },
async ({ question }) => ({ async ({ question }) => ({