Table of Contents

Class GetTaskRequestParams

Namespace
ModelContextProtocol.Extensions.Tasks
Assembly
ModelContextProtocol.Extensions.Tasks.dll

Represents the parameters for a tasks/get request to poll for task completion.

public sealed class GetTaskRequestParams : RequestParams
Inheritance
GetTaskRequestParams
Inherited Members

Remarks

Clients poll for task completion by sending tasks/get requests. Clients should respect the PollIntervalMs provided in responses when determining polling frequency.

See the SEP-2663 specification for details.

Properties

TaskId

Gets or sets the identifier of the task to query.

[JsonPropertyName("taskId")]
public required string TaskId { get; set; }

Property Value

string