Table of Contents

Class InputRequiredTaskNotificationParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Task notification for a task that requires input from the client.

public sealed class InputRequiredTaskNotificationParams : TaskStatusNotificationParams
Inheritance
InputRequiredTaskNotificationParams
Inherited Members

Properties

InputRequests

Gets or sets the server-to-client requests that need to be fulfilled.

[JsonPropertyName("inputRequests")]
public IDictionary<string, InputRequest>? InputRequests { get; set; }

Property Value

IDictionary<string, InputRequest>

Remarks

Keys are arbitrary identifiers for matching requests to responses. Each value is an InputRequest wrapping the server-to-client request payload, matching the typed format defined by the Multi Round-Trip Requests (MRTR) extension (SEP-2322).

Status

Gets or sets the current task status.

public override McpTaskStatus Status { get; }

Property Value

McpTaskStatus