diff --git a/docs/specification/2026-07-28/schema.mdx b/docs/specification/2026-07-28/schema.mdx index 80a91140c..706453adc 100644 --- a/docs/specification/2026-07-28/schema.mdx +++ b/docs/specification/2026-07-28/schema.mdx @@ -1367,18 +1367,27 @@ requested.
+The response to a subscriptions/listen +
The response to a subscriptions/listen request, signalling that the subscription has ended gracefully (for example, during server shutdown). Because the listen stream is long-lived, this result is sent only when the server tears the subscription down; an abrupt transport close carries no response. The result body is otherwise empty.
Indicates the type of the result, which allows the client to determine how to parse the result object.
Servers implementing this protocol version MUST include this field.
For backward compatibility, when a client receives a result from a
-server implementing an earlier protocol version (which does not include resultType), the client MUST treat the absent field as "complete".
resultType), the client MUST treat the absent field as "complete". resources/subscribe RPC.
Extends ResultMetaObject with the subscription-stream identifier carried by a SubscriptionsListenResult. All key naming rules from MetaObject apply.
MetaObject for key naming rules and reserved prefixes.
Identifies the server software producing the response. Servers SHOULD +
Extends ResultMetaObject with the subscription-stream identifier carried by a SubscriptionsListenResult. All key naming rules from MetaObject apply.
MetaObject for key naming rules and reserved prefixes.
Identifies the server software producing the response. Servers SHOULD include this field on every response unless specifically configured not to do so.
The Implementation schema requires name and version; other
fields are optional.
The value is self-reported by the server and is not verified by the protocol. It is intended for display, logging, and debugging. Clients SHOULD NOT use it to change their behavior, and SHOULD NOT rely on it for -security decisions.
Identifies the subscription stream this response closes, so the client can +security decisions.
Identifies the subscription stream this response closes, so the client can
correlate it with the originating subscription — mirroring the same key on
the stream's notifications. The value is the JSON-RPC ID of the subscriptions/listen request that opened the stream (and equals this
response's id).
A successful response from the server for a subscriptions/listen +request, sent when the server tears the subscription down gracefully.
The response to a subscriptions/listen +
The response to a subscriptions/listen request, signalling that the subscription has ended gracefully (for example, during server shutdown). Because the listen stream is long-lived, this result is sent only when the server tears the subscription down; an abrupt transport close carries no response. The result body is otherwise empty.
Indicates the type of the result, which allows the client to determine how to parse the result object.
Servers implementing this protocol version MUST include this field.
For backward compatibility, when a client receives a result from a
-server implementing an earlier protocol version (which does not include resultType), the client MUST treat the absent field as "complete".
resultType), the client MUST treat the absent field as "complete". resources/subscribe RPC.
Extends ResultMetaObject with the subscription-stream identifier carried by a SubscriptionsListenResult. All key naming rules from MetaObject apply.
MetaObject for key naming rules and reserved prefixes.
Identifies the server software producing the response. Servers SHOULD +
Extends ResultMetaObject with the subscription-stream identifier carried by a SubscriptionsListenResult. All key naming rules from MetaObject apply.
MetaObject for key naming rules and reserved prefixes.
Identifies the server software producing the response. Servers SHOULD include this field on every response unless specifically configured not to do so.
The Implementation schema requires name and version; other
fields are optional.
The value is self-reported by the server and is not verified by the protocol. It is intended for display, logging, and debugging. Clients SHOULD NOT use it to change their behavior, and SHOULD NOT rely on it for -security decisions.
Identifies the subscription stream this response closes, so the client can +security decisions.
Identifies the subscription stream this response closes, so the client can
correlate it with the originating subscription — mirroring the same key on
the stream's notifications. The value is the JSON-RPC ID of the subscriptions/listen request that opened the stream (and equals this
response's id).
A successful response from the server for a subscriptions/listen +request, sent when the server tears the subscription down gracefully.