Skip to content

Commit b9837a9

Browse files
S-LuitenSteven Luiten
andauthored
Implement ReturnJsonSchema in McpClientTool. (#538)
Co-authored-by: Steven Luiten <[email protected]>
1 parent 0b26b7b commit b9837a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ModelContextProtocol.Core/Client/McpClientTool.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ internal McpClientTool(
7777
/// <inheritdoc/>
7878
public override JsonElement JsonSchema => ProtocolTool.InputSchema;
7979

80+
/// <inheritdoc/>
81+
public override JsonElement? ReturnJsonSchema => ProtocolTool.OutputSchema;
82+
8083
/// <inheritdoc/>
8184
public override JsonSerializerOptions JsonSerializerOptions { get; }
8285

0 commit comments

Comments
 (0)