Skip to content

Commit e51c692

Browse files
authored
Merge pull request #120 from koic/add_tools_call_example_in_readme
[Docs] Add a `tools/call` example in README
2 parents 9486c63 + da4fd64 commit e51c692

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ You can run this script and then type in requests to the server at the command l
214214
$ ruby examples/stdio_server.rb
215215
{"jsonrpc":"2.0","id":"1","method":"ping"}
216216
{"jsonrpc":"2.0","id":"2","method":"tools/list"}
217+
{"jsonrpc":"2.0","id":"3","method":"tools/call","params":{"name":"example_tool","arguments":{"message":"Hello"}}}
217218
```
218219

219220
## Configuration

0 commit comments

Comments
 (0)