Merge pull request #37 from koic/tweak_stdio_transport_example_code_in_the_readme

[Doc] Tweak stdio transport example code in the README
This commit is contained in:
Topher Bullock 2025-06-03 17:28:53 -04:00 • committed by GitHub
commit e901f94a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,11 +121,10 @@ transport.open
You can run this script and then type in requests to the server at the command line. You can run this script and then type in requests to the server at the command line.
``` ```bash
$ ./stdio_server.rb $ ./examples/stdio_server.rb
{"jsonrpc":"2.0","id":"1","result":"pong"} {"jsonrpc":"2.0","id":"1","method":"ping"}
{"jsonrpc":"2.0","id":"2","result":["ExampleTool"]} {"jsonrpc":"2.0","id":"2","method":"tools/list"}
{"jsonrpc":"2.0","id":"3","result":["ExampleTool"]}
``` ```
## Configuration ## Configuration