|
3 | 3 | * |
4 | 4 | * Source: https://github.com/modelcontextprotocol/modelcontextprotocol |
5 | 5 | * Pulled from: https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/draft/schema.ts |
6 | | - * Last updated from commit: f68d864a813754e188c6df52dcc5772a12f96c63 |
| 6 | + * Last updated from commit: 9a4ff8af92ba00cbddbf94672dfade9279987e66 |
7 | 7 | * |
8 | 8 | * DO NOT EDIT THIS FILE MANUALLY. Changes will be overwritten by automated updates. |
9 | 9 | * To update this file, run: pnpm run fetch:spec-types 2026-07-28 |
@@ -1333,10 +1333,16 @@ export interface SubscriptionsAcknowledgedNotificationParams extends Notificatio |
1333 | 1333 | } |
1334 | 1334 |
|
1335 | 1335 | /** |
1336 | | - * Sent by the server as the first message on a |
1337 | | - * {@link SubscriptionsListenRequest | subscriptions/listen} stream to acknowledge |
1338 | | - * that the subscription has been established and to report which notification |
1339 | | - * types it agreed to honor. |
| 1336 | + * Sent by the server to acknowledge that a |
| 1337 | + * {@link SubscriptionsListenRequest | subscriptions/listen} subscription has been |
| 1338 | + * established and to report which notification types it agreed to honor. |
| 1339 | + * |
| 1340 | + * This notification MUST be the first message the server sends carrying the |
| 1341 | + * subscription's ID in `io.modelcontextprotocol/subscriptionId`. The server MUST |
| 1342 | + * NOT send any notification on the subscription before acknowledging it. On |
| 1343 | + * stdio, where every subscription shares one channel, this ordering is defined |
| 1344 | + * per subscription ID and not per channel: messages belonging to other |
| 1345 | + * subscriptions MAY be interleaved before it. |
1340 | 1346 | * |
1341 | 1347 | * @example Listen acknowledged |
1342 | 1348 | * {@includeCode ./examples/SubscriptionsAcknowledgedNotification/listen-acknowledged.json} |
|
0 commit comments