get tools working

This commit is contained in:
Ashwin Bhat
2024-10-08 16:00:04 -07:00
parent 88df0cd453
commit bfc9e6e882
8 changed files with 92 additions and 21 deletions

View File

@@ -109,7 +109,7 @@ export class McpClient {
return await this.client.request(
{
method: "tools/call",
params: { name, ...params },
params: { name, arguments: params },
},
CallToolResultSchema,
);