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
108108
109109The 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
136136server.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 )
You can’t perform that action at this time.
0 commit comments