@@ -118,7 +118,7 @@ public function disableNotifications(): void
118118        $ this notificationsEnabled  = false ;
119119    }
120120
121-     public  function  notifyToolsChanged (): void 
121+     public  function  notifyToolsListChanged (): void 
122122    {
123123        if  (!$ this notificationsEnabled  || !$ this clientStateManager ) {
124124            return ;
@@ -133,7 +133,7 @@ public function notifyToolsChanged(): void
133133        $ this clientStateManager ->queueMessageForAll ($ framedMessage
134134    }
135135
136-     public  function  notifyResourcesChanged (): void 
136+     public  function  notifyResourcesListChanged (): void 
137137    {
138138        if  (!$ this notificationsEnabled  || !$ this clientStateManager ) {
139139            return ;
@@ -148,7 +148,7 @@ public function notifyResourcesChanged(): void
148148        $ this clientStateManager ->queueMessageForAll ($ framedMessage
149149    }
150150
151-     public  function  notifyPromptsChanged (): void 
151+     public  function  notifyPromptsListChanged (): void 
152152    {
153153        if  (!$ this notificationsEnabled  || !$ this clientStateManager ) {
154154            return ;
@@ -220,7 +220,7 @@ public function registerTool(ToolDefinition $tool, bool $isManual = false): void
220220        }
221221
222222        if  (! $ exists
223-             $ this notifyToolsChanged ();
223+             $ this notifyToolsListChanged ();
224224        }
225225    }
226226
@@ -247,7 +247,7 @@ public function registerResource(ResourceDefinition $resource, bool $isManual =
247247        }
248248
249249        if  (! $ exists
250-             $ this notifyResourcesChanged ();
250+             $ this notifyResourcesListChanged ();
251251        }
252252    }
253253
@@ -298,7 +298,7 @@ public function registerPrompt(PromptDefinition $prompt, bool $isManual = false)
298298        }
299299
300300        if  (! $ exists
301-             $ this notifyPromptsChanged ();
301+             $ this notifyPromptsListChanged ();
302302        }
303303    }
304304
0 commit comments