Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
16 lines
532 B
C#
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; }
|
|
}
|