Table of Contents

Enum McpTaskExecutionMode

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

Specifies how a tool call participates in the MCP Tasks extension.

public enum McpTaskExecutionMode

Fields

Optional = 1

The tool executes as a task when the client declares the Tasks extension.

Required = 2

The tool requires the client to declare the Tasks extension.

Synchronous = 0

The tool always executes synchronously.