Merge pull request #108 from koic/remove_redundant_parentheses

[Docs] Remove redundant parentheses
This commit is contained in:
Koichi ITO 2025-08-19 00:25:56 +09:00 • committed by GitHub
commit f63f360a7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,9 +108,9 @@ The server supports sending notifications to clients when lists of tools, prompt
The server provides three notification methods:
- `notify_tools_list_changed()` - Send a notification when the tools list changes
- `notify_prompts_list_changed()` - Send a notification when the prompts list changes
- `notify_resources_list_changed()` - Send a notification when the resources list changes
- `notify_tools_list_changed` - Send a notification when the tools list changes
- `notify_prompts_list_changed` - Send a notification when the prompts list changes
- `notify_resources_list_changed` - Send a notification when the resources list changes
#### Notification Format
@ -134,7 +134,7 @@ server.transport = transport
# When tools change, notify clients
server.define_tool(name: "new_tool") { |**args| { result: "ok" } }
server.notify_tools_list_changed()
server.notify_tools_list_changed
```
### Unsupported Features ( to be implemented in future versions )