Table of Contents

Class GetTaskRequestParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the parameters for a tasks/get request to retrieve task status.

[Experimental("MCPEXP001", UrlFormat = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001")]
public sealed class GetTaskRequestParams : RequestParams
Inheritance
GetTaskRequestParams
Inherited Members

Remarks

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

Properties

TaskId

Gets or sets the unique identifier of the task to retrieve.

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

Property Value

string