[Docs] Add a tools/call example in README
This PR adds a `tools/call` example to make it clear how to call a tool from the tool list obtained via `tools/list`. Closes #110.
This commit is contained in:
parent
9486c63545
commit
da4fd6410e
1 changed files with 1 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ You can run this script and then type in requests to the server at the command l
|
|||
$ ruby examples/stdio_server.rb
|
||||
{"jsonrpc":"2.0","id":"1","method":"ping"}
|
||||
{"jsonrpc":"2.0","id":"2","method":"tools/list"}
|
||||
{"jsonrpc":"2.0","id":"3","method":"tools/call","params":{"name":"example_tool","arguments":{"message":"Hello"}}}
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
|
|
|||
Loading…
Reference in a new issue