From 657f1c0c73bbb94dea4dea084fa37e12039fa152 Mon Sep 17 00:00:00 2001 From: Luca Chang Date: Thu, 28 May 2026 13:44:52 -0700 Subject: [PATCH] Port ResultType changes https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2773 --- proposals/2663-tasks-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/2663-tasks-extension.md b/proposals/2663-tasks-extension.md index 9f9012f..28f6c06 100644 --- a/proposals/2663-tasks-extension.md +++ b/proposals/2663-tasks-extension.md @@ -122,7 +122,7 @@ A request that is eligible for task-augmentation may return one of two distinct ```typescript // "task" is introduced by this extension. -type ResultType = "complete" | "input_required" | "task"; +type ResultType = "complete" | "input_required" | "task" | string; ``` Servers **MUST** set `resultType` to `"task"` when returning a `CreateTaskResult` so that clients can distinguish it from a standard result. Servers **MUST NOT** set `resultType` to `"task"` on result types other than `CreateTaskResult`.