Skip to content

Commit 314f0f6

Browse files
authored
Omit arguments from tool call with no arguments (#53)
1 parent 14905af commit 314f0f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scenarios/server/tools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ Implement tool \`test_simple_text\` with no arguments that returns:
119119
const connection = await connectToServer(serverUrl);
120120

121121
const result = await connection.client.callTool({
122-
name: 'test_simple_text',
123-
arguments: {}
122+
name: 'test_simple_text'
123+
/* omit arguments as it is not required in the schema */
124124
});
125125

126126
// Validate response

0 commit comments

Comments
 (0)