Skip to content

Commit aef509f

Browse files
authored
Clarify default value in ElicitResult documentation (#731)
Updated XML documentation to clarify default value for action.
1 parent f2dc714 commit aef509f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ModelContextProtocol.Core/Protocol/ElicitResult.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ public sealed class ElicitResult : Result
1111
/// <summary>
1212
/// Gets or sets the user action in response to the elicitation.
1313
/// </summary>
14+
/// <value>
15+
/// Defaults to "cancel" if not explicitly set.
16+
/// </value>
1417
/// <remarks>
1518
/// <list type="bullet">
1619
/// <item>
@@ -23,7 +26,7 @@ public sealed class ElicitResult : Result
2326
/// </item>
2427
/// <item>
2528
/// <term>"cancel"</term>
26-
/// <description>User dismissed without making an explicit choice</description>
29+
/// <description>User dismissed without making an explicit choice (default)</description>
2730
/// </item>
2831
/// </list>
2932
/// </remarks>
@@ -44,4 +47,4 @@ public sealed class ElicitResult : Result
4447
/// </remarks>
4548
[JsonPropertyName("content")]
4649
public IDictionary<string, JsonElement>? Content { get; set; }
47-
}
50+
}

0 commit comments

Comments
 (0)