Merge pull request #120 from koic/add_tools_call_example_in_readme

[Docs] Add a `tools/call` example in README
This commit is contained in:
Koichi ITO 2025-08-29 14:47:11 +09:00 • committed by GitHub
commit e51c692e93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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