From db374957fc19fbe6d64e069efcc6452e7f6f21e4 Mon Sep 17 00:00:00 2001 From: S-Luiten Date: Tue, 24 Jun 2025 14:48:00 +0200 Subject: [PATCH] Document default value for UseStructuredContent. (#539) Co-authored-by: Steven Luiten --- .../Server/McpServerToolAttribute.cs | 5 +++++ .../Server/McpServerToolCreateOptions.cs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/ModelContextProtocol.Core/Server/McpServerToolAttribute.cs b/src/ModelContextProtocol.Core/Server/McpServerToolAttribute.cs index 97b0a38..d4ea9eb 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerToolAttribute.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerToolAttribute.cs @@ -245,8 +245,13 @@ public sealed class McpServerToolAttribute : Attribute /// Gets or sets whether the tool should report an output schema for structured content. /// /// + /// /// When enabled, the tool will attempt to populate the /// and provide structured content in the property. + /// + /// + /// The default is . + /// /// public bool UseStructuredContent { get; set; } } diff --git a/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs b/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs index 63407d8..bdb4ecb 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs @@ -129,8 +129,13 @@ public sealed class McpServerToolCreateOptions /// Gets or sets whether the tool should report an output schema for structured content. /// /// + /// /// When enabled, the tool will attempt to populate the /// and provide structured content in the property. + /// + /// + /// The default is . + /// /// public bool UseStructuredContent { get; set; }