From aef509fd92f29689728de10dc798051758d294b2 Mon Sep 17 00:00:00 2001
From: Tim Heuer <4821+timheuer@users.noreply.github.com>
Date: Tue, 26 Aug 2025 09:15:59 -0700
Subject: [PATCH] Clarify default value in ElicitResult documentation (#731)
Updated XML documentation to clarify default value for action.
---
src/ModelContextProtocol.Core/Protocol/ElicitResult.cs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/ModelContextProtocol.Core/Protocol/ElicitResult.cs b/src/ModelContextProtocol.Core/Protocol/ElicitResult.cs
index 39387f5..9e7f1c3 100644
--- a/src/ModelContextProtocol.Core/Protocol/ElicitResult.cs
+++ b/src/ModelContextProtocol.Core/Protocol/ElicitResult.cs
@@ -11,6 +11,9 @@ public sealed class ElicitResult : Result
///
/// Gets or sets the user action in response to the elicitation.
///
+ ///
+ /// Defaults to "cancel" if not explicitly set.
+ ///
///
///
/// -
@@ -23,7 +26,7 @@ public sealed class ElicitResult : Result
///
/// -
/// "cancel"
- /// User dismissed without making an explicit choice
+ /// User dismissed without making an explicit choice (default)
///
///
///
@@ -44,4 +47,4 @@ public sealed class ElicitResult : Result
///
[JsonPropertyName("content")]
public IDictionary? Content { get; set; }
-}
\ No newline at end of file
+}