Class TasksProtocol
- Namespace
- ModelContextProtocol.Extensions.Tasks
- Assembly
- ModelContextProtocol.Extensions.Tasks.dll
Provides constants for the MCP Tasks extension (SEP-2663).
public static class TasksProtocol
- Inheritance
-
TasksProtocol
- Inherited Members
Fields
ExtensionId
The extension identifier for the MCP Tasks extension.
public const string ExtensionId = "io.modelcontextprotocol/tasks"
Field Value
MetaRelatedTask
The metadata key used to associate requests, responses, and notifications with a task.
public const string MetaRelatedTask = "io.modelcontextprotocol/related-task"
Field Value
MethodTasksCancel
The name of the request method sent from the client to signal intent to cancel a task.
public const string MethodTasksCancel = "tasks/cancel"
Field Value
MethodTasksGet
The name of the request method sent from the client to poll for task completion.
public const string MethodTasksGet = "tasks/get"
Field Value
MethodTasksUpdate
The name of the request method sent from the client to provide input responses to a task.
public const string MethodTasksUpdate = "tasks/update"
Field Value
NotificationTaskStatus
The name of the notification sent by the server when a task's status changes.
public const string NotificationTaskStatus = "notifications/tasks/status"