From 66fd3e73fa69e6f8bf546563beed4f80a142c9f4 Mon Sep 17 00:00:00 2001 From: Mike Kistler Date: Mon, 24 Nov 2025 06:20:36 -0800 Subject: [PATCH] Omit arguments from tool call with no arguments --- src/scenarios/server/tools.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenarios/server/tools.ts b/src/scenarios/server/tools.ts index e8d27d0..e445a5c 100644 --- a/src/scenarios/server/tools.ts +++ b/src/scenarios/server/tools.ts @@ -119,8 +119,8 @@ Implement tool \`test_simple_text\` with no arguments that returns: const connection = await connectToServer(serverUrl); const result = await connection.client.callTool({ - name: 'test_simple_text', - arguments: {} + name: 'test_simple_text' + /* omit arguments as it is not required in the schema */ }); // Validate response