Skip to content

Commit e901f94

Browse files
Merge pull request #37 from koic/tweak_stdio_transport_example_code_in_the_readme
[Doc] Tweak stdio transport example code in the README
2 parents dcc31ca + 6de5468 commit e901f94

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,10 @@ transport.open
121121

122122
You can run this script and then type in requests to the server at the command line.
123123

124-
```
125-
$ ./stdio_server.rb
126-
{"jsonrpc":"2.0","id":"1","result":"pong"}
127-
{"jsonrpc":"2.0","id":"2","result":["ExampleTool"]}
128-
{"jsonrpc":"2.0","id":"3","result":["ExampleTool"]}
124+
```bash
125+
$ ./examples/stdio_server.rb
126+
{"jsonrpc":"2.0","id":"1","method":"ping"}
127+
{"jsonrpc":"2.0","id":"2","method":"tools/list"}
129128
```
130129

131130
## Configuration

0 commit comments

Comments
 (0)