Omit arguments from tool call with no arguments (#53)
This commit is contained in:
parent
14905af980
commit
314f0f6d89
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue