File tree Expand file tree Collapse file tree
src/Service.Tests/UnitTests Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -349,21 +349,20 @@ private class MockMcpTool : IMcpTool
349349 {
350350 private readonly CallToolResult ? _result ;
351351 private readonly Exception ? _exception ;
352- private readonly ToolType _toolType ;
353352
354353 public MockMcpTool ( CallToolResult result , ToolType toolType = ToolType . BuiltIn )
355354 {
356355 _result = result ;
357- _toolType = toolType ;
356+ ToolType = toolType ;
358357 }
359358
360359 public MockMcpTool ( Exception exception , ToolType toolType = ToolType . BuiltIn )
361360 {
362361 _exception = exception ;
363- _toolType = toolType ;
362+ ToolType = toolType ;
364363 }
365364
366- public ToolType ToolType => _toolType ;
365+ public ToolType ToolType { get ; }
367366
368367 public Tool GetToolMetadata ( ) => new ( ) { Name = "mock_tool" , Description = "Mock tool for testing" } ;
369368
You can’t perform that action at this time.
0 commit comments