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 = 1The tool executes as a task when the client declares the Tasks extension.
Required = 2The tool requires the client to declare the Tasks extension.
Synchronous = 0The tool always executes synchronously.