Enable complete Tasks extension conformance coverage (#1741)

Copilot-Session: 7c99928c-a943-49f4-9a63-8b04a0e4d18b
This commit is contained in:
Pranav Senthilnathan 2026-07-27 12:45:25 -07:00 • committed by GitHub
commit 7838900e8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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