Skip to content

Commit 22fb4bd

Browse files
authored
Merge pull request modelcontextprotocol#1833 from LucaButBoring/fix/cancel-task
Remove deprecated taskId from cancellation notification
2 parents 1121a52 + 55331f2 commit 22fb4bd

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

docs/specification/draft/schema.mdx

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/draft/schema.json

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/draft/schema.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ export interface CancelledNotificationParams extends NotificationParams {
210210
*/
211211
requestId?: RequestId;
212212

213-
/**
214-
* Deprecated: Use the `tasks/cancel` request instead of this notification for task cancellation.
215-
*/
216-
taskId?: string;
217-
218213
/**
219214
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
220215
*/

0 commit comments

Comments
 (0)