context_server: Make notifications type safe (#32396)

Follow up to #32254 

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-06-09 17:11:01 +02:00 committed by GitHub
parent 3853e83da7
commit 6801b9137f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 67 additions and 43 deletions

View file

@ -105,7 +105,7 @@ impl Tool for ContextServerTool {
arguments
);
let response = protocol
.request::<context_server::types::request::CallTool>(
.request::<context_server::types::requests::CallTool>(
context_server::types::CallToolParams {
name: tool_name,
arguments,