File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ The server supports sending notifications to clients when lists of tools, prompt
108
108
109
109
The server provides three notification methods:
110
110
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
114
114
115
115
#### Notification Format
116
116
@@ -134,7 +134,7 @@ server.transport = transport
134
134
135
135
# When tools change, notify clients
136
136
server.define_tool(name: " new_tool" ) { |** args | { result: " ok" } }
137
- server.notify_tools_list_changed()
137
+ server.notify_tools_list_changed
138
138
```
139
139
140
140
### Unsupported Features ( to be implemented in future versions )
You can’t perform that action at this time.
0 commit comments