csharp-sdk/src/ModelContextProtocol.Core/Protocol/UrlElicitationRequiredErrorData.cs
Copilot 4648d3e8e2
Make UrlElicitationRequiredErrorData.Elicitations consistent with other Protocol DTOs (#1335)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-20 23:12:16 -05:00

16 lines
532 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol;
/// <summary>
/// Represents the payload for the <c>URL_ELICITATION_REQUIRED</c> JSON-RPC error.
/// </summary>
public sealed class UrlElicitationRequiredErrorData
{
/// <summary>
/// Gets or sets the elicitations that must be completed before retrying the original request.
/// </summary>
[JsonPropertyName("elicitations")]
public required IList<ElicitRequestParams> Elicitations { get; set; }
}