-
Notifications
You must be signed in to change notification settings - Fork 143
[Schema] SEP-2663 Tasks: Task shape, resultType discriminator, tasks/* request/result types #345
Copy link
Copy link
Open
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featureSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Metadata
Metadata
Assignees
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featureSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
Implements the schema portion of SEP-2663 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #335. Depends on SEP-2133 extensions framework.
Spec summary
PHP SDK changes
Taskshape undersrc/Schema/:taskId,statusenum (pending/running/input_required/completed/cancelled/failed),result,error, list of pending server-to-client requests.resultType: "task"discriminator onCallToolResult(and any other task-augmentable result types).TaskGetRequest/Result,TaskUpdateRequest/Result,TaskCancelRequest/Resultundersrc/Schema/Request/andsrc/Schema/Result/.src/Schema/Enum/.Notes
SEP-2663 supersedes SEP-1686. Issue #139 (SEP-1686 Tasks placeholder) is being closed in favor of this milestone.
Related