Omit arguments from tool call with no arguments (#53)

This commit is contained in:
Mike Kistler 2025-11-24 07:23:21 -08:00 • committed by GitHub
commit 314f0f6d89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,8 +119,8 @@ Implement tool \`test_simple_text\` with no arguments that returns:
const connection = await connectToServer(serverUrl); const connection = await connectToServer(serverUrl);
const result = await connection.client.callTool({ const result = await connection.client.callTool({
name: 'test_simple_text', name: 'test_simple_text'
arguments: {} /* omit arguments as it is not required in the schema */
}); });
// Validate response // Validate response