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:
|
||||
"How to orchestrate ask262 tools to explore JavaScript internals",
|
||||
argsSchema: {
|
||||
question: z
|
||||
.string()
|
||||
.describe("Question"),
|
||||
question: z.string().describe("Question"),
|
||||
},
|
||||
},
|
||||
async ({ question }) => ({
|
||||
|
||||
Reference in New Issue
Block a user