Document default value for UseStructuredContent. (#539)
Co-authored-by: Steven Luiten <s.luiten@inpactplatform.nl>
This commit is contained in:
parent
b9837a9e42
commit
db374957fc
2 changed files with 10 additions and 0 deletions
|
|
@ -245,8 +245,13 @@ public sealed class McpServerToolAttribute : Attribute
|
||||||
/// Gets or sets whether the tool should report an output schema for structured content.
|
/// Gets or sets whether the tool should report an output schema for structured content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
|
/// <para>
|
||||||
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
|
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
|
||||||
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
|
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The default is <see langword="false"/>.
|
||||||
|
/// </para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public bool UseStructuredContent { get; set; }
|
public bool UseStructuredContent { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,8 +129,13 @@ public sealed class McpServerToolCreateOptions
|
||||||
/// Gets or sets whether the tool should report an output schema for structured content.
|
/// Gets or sets whether the tool should report an output schema for structured content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
|
/// <para>
|
||||||
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
|
/// When enabled, the tool will attempt to populate the <see cref="Tool.OutputSchema"/>
|
||||||
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
|
/// and provide structured content in the <see cref="CallToolResult.StructuredContent"/> property.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The default is <see langword="false"/>.
|
||||||
|
/// </para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public bool UseStructuredContent { get; set; }
|
public bool UseStructuredContent { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue