From ededdc4d5b817f02c1b1668ef28cb0ee91cb01e5 Mon Sep 17 00:00:00 2001 From: Yuki Minamiya Date: Tue, 23 Jun 2026 03:10:37 +0900 Subject: [PATCH] [Doc] Use callable name in HTTP server example tool list The HTTP server example's "Tools" list referred to the adder tool by its class name `ExampleTool`, while the sibling `echo` tool is listed by its callable name. The tool is registered from the `ExampleTool` class without an explicit `tool_name`, so its callable name is `example_tool` (derived via `StringUtils.handle_from_class_name`). List it by the callable name for consistency with `echo` and with the `tools/call` examples. Breaking Changes: None (documentation only). --- examples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index c0fcb334..4b5f0092 100644 --- a/examples/README.md +++ b/examples/README.md @@ -55,7 +55,7 @@ $ ruby examples/http_server.rb The server will start on `http://localhost:9292` and provide: - **Tools**: - - `ExampleTool` - adds two numbers + - `example_tool` - adds two numbers - `echo` - echoes back messages - **Prompts**: `ExamplePrompt` - echoes back arguments as a prompt - **Resources**: `test_resource` - returns example content