Add McpClient/Session methods using .Protocol types (#1063)

This commit is contained in:
Stephen Toub 2025-12-05 13:45:12 -05:00 • committed by GitHub
commit 4a84412331
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -682,8 +682,7 @@ public partial class McpServerBuilderExtensionsToolsTests : ClientServerTestBase
return default;
}))
{
var result = await client.SendRequestAsync<CallToolRequestParams, CallToolResult>(
RequestMethods.ToolsCall,
var result = await client.CallToolAsync(
new CallToolRequestParams
{
Name = progressTool.ProtocolTool.Name,