Skip to content

Commit db37495

Browse files
S-LuitenSteven Luiten
andauthored
Document default value for UseStructuredContent. (modelcontextprotocol#539)
Co-authored-by: Steven Luiten <[email protected]>
1 parent b9837a9 commit db37495

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/ModelContextProtocol.Core/Server/McpServerToolAttribute.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,13 @@ public bool ReadOnly
245245
/// Gets or sets whether the tool should report an output schema for structured content.
246246
/// </summary>
247247
/// <remarks>
248+
/// <para>
248249
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
249250
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
251+
/// </para>
252+
/// <para>
253+
/// The default is <see langword="false"/>.
254+
/// </para>
250255
/// </remarks>
251256
public bool UseStructuredContent { get; set; }
252257
}

src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,13 @@ public sealed class McpServerToolCreateOptions
129129
/// Gets or sets whether the tool should report an output schema for structured content.
130130
/// </summary>
131131
/// <remarks>
132+
/// <para>
132133
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
133134
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
135+
/// </para>
136+
/// <para>
137+
/// The default is <see langword="false"/>.
138+
/// </para>
134139
/// </remarks>
135140
public bool UseStructuredContent { get; set; }
136141

0 commit comments

Comments
 (0)