namespace ModelContextProtocol.Extensions.Tasks; /// /// Specifies how a tool call participates in the MCP Tasks extension. /// public enum McpTaskExecutionMode { /// The tool always executes synchronously. Synchronous, /// The tool executes as a task when the client declares the Tasks extension. Optional, /// The tool requires the client to declare the Tasks extension. Required, }