Skip to content

Commit abe0590

Browse files
docs(core): @deprecated elicitationId / ElicitationCompleteNotification* (spec #2891) (#2372)
1 parent 846ff27 commit abe0590

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

packages/core/src/types/schemas.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,6 +1973,11 @@ export const ElicitRequestURLParamsSchema = TaskAugmentedRequestParamsSchema.ext
19731973
/**
19741974
* The ID of the elicitation, which must be unique within the context of the server.
19751975
* The client MUST treat this ID as an opaque value.
1976+
*
1977+
* @deprecated Removed from the spec by #2891 (2026-07-28). The client learns the
1978+
* outcome of an out-of-band interaction by retrying the original request; no
1979+
* server-initiated completion signal exists in the 2026-07-28 revision. Kept here
1980+
* for the 2025-era URL-mode flow only.
19761981
*/
19771982
elicitationId: z.string(),
19781983
/**
@@ -1999,18 +2004,28 @@ export const ElicitRequestSchema = RequestSchema.extend({
19992004
/**
20002005
* Parameters for a {@linkcode ElicitationCompleteNotification | notifications/elicitation/complete} notification.
20012006
*
2007+
* @deprecated Removed from the spec by #2891 (2026-07-28). The client learns the outcome
2008+
* of an out-of-band interaction by retrying the original request; no server-initiated
2009+
* completion signal exists in the 2026-07-28 revision. Kept here for the 2025-era flow
2010+
* only. The 2026-07-28 wire codec excludes this notification.
20022011
* @category notifications/elicitation/complete
20032012
*/
20042013
export const ElicitationCompleteNotificationParamsSchema = NotificationsParamsSchema.extend({
20052014
/**
20062015
* The ID of the elicitation that completed.
2016+
*
2017+
* @deprecated See {@linkcode ElicitationCompleteNotificationParamsSchema}.
20072018
*/
20082019
elicitationId: z.string()
20092020
});
20102021

20112022
/**
20122023
* A notification from the server to the client, informing it of a completion of an out-of-band elicitation request.
20132024
*
2025+
* @deprecated Removed from the spec by #2891 (2026-07-28). The client learns the outcome
2026+
* of an out-of-band interaction by retrying the original request; no server-initiated
2027+
* completion signal exists in the 2026-07-28 revision. Kept here for the 2025-era flow
2028+
* only. The 2026-07-28 wire codec excludes this notification.
20142029
* @category notifications/elicitation/complete
20152030
*/
20162031
export const ElicitationCompleteNotificationSchema = NotificationSchema.extend({

packages/core/src/types/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ export type ElicitRequestParams = Infer<typeof ElicitRequestParamsSchema>;
533533
export type ElicitRequestFormParams = Infer<typeof ElicitRequestFormParamsSchema>;
534534
export type ElicitRequestURLParams = Infer<typeof ElicitRequestURLParamsSchema>;
535535
export type ElicitRequest = Infer<typeof ElicitRequestSchema>;
536+
/** @deprecated Removed from the spec by #2891 (2026-07-28). 2025-era only; the 2026-07-28 wire codec excludes this notification. */
536537
export type ElicitationCompleteNotificationParams = Infer<typeof ElicitationCompleteNotificationParamsSchema>;
538+
/** @deprecated Removed from the spec by #2891 (2026-07-28). 2025-era only; the 2026-07-28 wire codec excludes this notification. */
537539
export type ElicitationCompleteNotification = Infer<typeof ElicitationCompleteNotificationSchema>;
538540
export type ElicitResult = StripWireOnly<Infer<typeof ElicitResultSchema>>;
539541

0 commit comments

Comments
 (0)