Skip to content

EveInputRequest

NexusLabs.Eve

EveInputRequest Class

Describes a question or approval that must be answered before an eve turn can continue.

public sealed record EveInputRequest : System.IEquatable<NexusLabs.Eve.EveInputRequest>

Inheritance System.Object → EveInputRequest

Implements System.IEquatable<EveInputRequest>

Properties

EveInputRequest.Action Property

Gets the raw action request associated with this input request.

public System.Text.Json.JsonElement Action { get; }

Property Value

System.Text.Json.JsonElement

EveInputRequest.AllowFreeform Property

Gets whether a free-form answer is accepted.

public System.Nullable<bool> AllowFreeform { get; }

Property Value

System.Nullable<System.Boolean>

EveInputRequest.Display Property

Gets the optional rendering hint, such as confirmation, select, or text.

public string? Display { get; }

Property Value

System.String

EveInputRequest.Kind Property

Gets the framework-owned request source used to route, render, and answer this request.

public NexusLabs.Eve.EveInputRequestKind Kind { get; }

Property Value

EveInputRequestKind

Remarks

Prefer this discriminator over inferring intent from Display, Options, or the tool name in Action. It reports Unknown when the server sends no discriminator or one this package does not model; RawKind then carries the wire value.

EveInputRequest.Options Property

Gets the selectable answer options.

public System.Collections.Generic.IReadOnlyList<NexusLabs.Eve.EveInputOption> Options { get; }

Property Value

System.Collections.Generic.IReadOnlyList<EveInputOption>

EveInputRequest.Prompt Property

Gets the prompt to present to the user.

public string Prompt { get; }

Property Value

System.String

EveInputRequest.RawKind Property

Gets the discriminator exactly as the server sent it, or null when it sent none.

public string? RawKind { get; }

Property Value

System.String

Remarks

eve versions before the discriminator was introduced omit it entirely, so a null value is a legacy server rather than an unrecognized kind.

EveInputRequest.RequestId Property

Gets the stable request identifier.

public string RequestId { get; }

Property Value

System.String