We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
client.callTool
1 parent 87197fb commit e8bed12Copy full SHA for e8bed12
README.md
@@ -470,8 +470,11 @@ const resources = await client.listResources();
470
const resource = await client.readResource("file:///example.txt");
471
472
// Call a tool
473
-const result = await client.callTool("example-tool", {
474
- arg1: "value"
+const result = await client.callTool({
+ name: "example-tool",
475
+ arguments: {
476
+ arg1: "value"
477
+ }
478
});
479
```
480
0 commit comments