Skip to content

Commit f63f360

Browse files
authored
Merge pull request #108 from koic/remove_redundant_parentheses
[Docs] Remove redundant parentheses
2 parents d1c6a46 + f3ad5ff commit f63f360

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ The server supports sending notifications to clients when lists of tools, prompt
108108

109109
The server provides three notification methods:
110110

111-
- `notify_tools_list_changed()` - Send a notification when the tools list changes
112-
- `notify_prompts_list_changed()` - Send a notification when the prompts list changes
113-
- `notify_resources_list_changed()` - Send a notification when the resources list changes
111+
- `notify_tools_list_changed` - Send a notification when the tools list changes
112+
- `notify_prompts_list_changed` - Send a notification when the prompts list changes
113+
- `notify_resources_list_changed` - Send a notification when the resources list changes
114114

115115
#### Notification Format
116116

@@ -134,7 +134,7 @@ server.transport = transport
134134

135135
# When tools change, notify clients
136136
server.define_tool(name: "new_tool") { |**args| { result: "ok" } }
137-
server.notify_tools_list_changed()
137+
server.notify_tools_list_changed
138138
```
139139

140140
### Unsupported Features ( to be implemented in future versions )

0 commit comments

Comments
 (0)