mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
refactor: simplify question argsSchema definition in mcp-server.ts by collapsing multiline Zod schema into a single line.
This commit is contained in:
+1
-3
@@ -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 }) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user