From e75f14dc379cabb00393c9b054ed1ffd485823c5 Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Sat, 22 Nov 2025 19:17:37 +0000 Subject: [PATCH] update elicitation request to pass new mode --- src/everything/everything.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/everything/everything.ts b/src/everything/everything.ts index 9f4095f3..01277579 100644 --- a/src/everything/everything.ts +++ b/src/everything/everything.ts @@ -90,7 +90,9 @@ const GetResourceReferenceSchema = z.object({ .describe("ID of the resource to reference (1-100)"), }); -const ElicitationSchema = z.object({}); +const ElicitationSchema = z.object({ + mode: z.enum(['form', 'url']).describe("Elicitation mode"), +}); const GetResourceLinksSchema = z.object({ count: z @@ -728,11 +730,12 @@ export const createServer = () => { } if (name === ToolName.ELICITATION) { - ElicitationSchema.parse(args); + const { mode } = ElicitationSchema.parse(args); const elicitationResult = await extra.sendRequest({ method: 'elicitation/create', params: { + mode, message: 'Please provide inputs for the following fields:', requestedSchema: { type: 'object',