From da4fd6410e82b26b8b6febd59ad22e29c6301903 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 29 Aug 2025 12:59:30 +0900 Subject: [PATCH] [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. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f1726ad7..76ef177f 100644 --- a/README.md +++ b/README.md @@ -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