File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/ModelContextProtocol.Core/Client Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 11using Microsoft . Extensions . AI ;
22using ModelContextProtocol . Protocol ;
3- using System . Collections . ObjectModel ;
43using System . Text . Json ;
54using System . Text . Json . Nodes ;
65
@@ -26,13 +25,6 @@ namespace ModelContextProtocol.Client;
2625/// </remarks>
2726public sealed class McpClientTool : AIFunction
2827{
29- /// <summary>Additional properties exposed from tools.</summary>
30- private static readonly ReadOnlyDictionary < string , object ? > s_additionalProperties =
31- new ( new Dictionary < string , object ? > ( )
32- {
33- [ "Strict" ] = false , // some MCP schemas may not meet "strict" requirements
34- } ) ;
35-
3628 private readonly McpClient _client ;
3729 private readonly string _name ;
3830 private readonly string _description ;
@@ -126,9 +118,6 @@ internal McpClientTool(
126118 /// <inheritdoc/>
127119 public override JsonSerializerOptions JsonSerializerOptions { get ; }
128120
129- /// <inheritdoc/>
130- public override IReadOnlyDictionary < string , object ? > AdditionalProperties => s_additionalProperties ;
131-
132121 /// <inheritdoc/>
133122 protected async override ValueTask < object ? > InvokeCoreAsync (
134123 AIFunctionArguments arguments , CancellationToken cancellationToken )
You can’t perform that action at this time.
0 commit comments