From 314f0f6d89e95158a40c1e0eaa5f076ab85091e7 Mon Sep 17 00:00:00 2001 From: Mike Kistler Date: Mon, 24 Nov 2025 07:23:21 -0800 Subject: [PATCH] Omit arguments from tool call with no arguments (#53) --- 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