Document default value for UseStructuredContent. (#539)

Co-authored-by: Steven Luiten <s.luiten@inpactplatform.nl>
This commit is contained in:
S-Luiten 2025-06-24 14:48:00 +02:00 • committed by GitHub
commit db374957fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -245,8 +245,13 @@ public sealed class McpServerToolAttribute : Attribute
/// Gets or sets whether the tool should report an output schema for structured content.
/// </summary>
/// <remarks>
/// <para>
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
/// </para>
/// <para>
/// The default is <see langword="false"/>.
/// </para>
/// </remarks>
public bool UseStructuredContent { get; set; }
}

View file

@ -129,8 +129,13 @@ public sealed class McpServerToolCreateOptions
/// Gets or sets whether the tool should report an output schema for structured content.
/// </summary>
/// <remarks>
/// <para>
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
/// </para>
/// <para>
/// The default is <see langword="false"/>.
/// </para>
/// </remarks>
public bool UseStructuredContent { get; set; }