Re-vendor 2026-07-28 schema at spec ead35b59 (SubscriptionsListenResult) (#3006)

This commit is contained in:
Max 2026-06-27 10:15:34 +02:00 • committed by GitHub
commit e942d00b98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 124 additions and 15 deletions

View file

@ -3220,6 +3220,9 @@
{
"$ref": "#/$defs/ReadResourceResult"
},
{
"$ref": "#/$defs/SubscriptionsListenResult"
},
{
"$ref": "#/$defs/ListPromptsResult"
},
@ -3389,6 +3392,36 @@
],
"type": "object"
},
"SubscriptionsListenResult": {
"description": "The response to a {@link SubscriptionsListenRequestsubscriptions/listen}\nrequest, signalling that the subscription has ended gracefully (for example,\nduring server shutdown). Because the listen stream is long-lived, this result\nis sent only when the server tears the subscription down; an abrupt transport\nclose carries no response. The result body is otherwise empty.",
"properties": {
"_meta": {
"$ref": "#/$defs/SubscriptionsListenResultMeta"
},
"resultType": {
"description": "Indicates the type of the result, which allows the client to determine\nhow to parse the result object.\n\nServers implementing this protocol version MUST include this field.\nFor backward compatibility, when a client receives a result from a\nserver implementing an earlier protocol version (which does not include\n`resultType`), the client MUST treat the absent field as `\"complete\"`.",
"type": "string"
}
},
"required": [
"_meta",
"resultType"
],
"type": "object"
},
"SubscriptionsListenResultMeta": {
"description": "Extends {@link MetaObject} with the subscription-stream identifier carried by a\n{@link SubscriptionsListenResult}. All key naming rules from `MetaObject` apply.",
"properties": {
"io.modelcontextprotocol/subscriptionId": {
"$ref": "#/$defs/RequestId",
"description": "Identifies the subscription stream this response closes, so the client can\ncorrelate it with the originating subscription — mirroring the same key on\nthe stream's notifications. The value is the JSON-RPC ID of the\n`subscriptions/listen` request that opened the stream (and equals this\nresponse's `id`)."
}
},
"required": [
"io.modelcontextprotocol/subscriptionId"
],
"type": "object"
},
"TextContent": {
"description": "Text provided to or from an LLM.",
"properties": {

View file

@ -8,7 +8,7 @@
{
"protocol_version": "2026-07-28",
"source_path_in_spec_repo": "schema/draft/schema.json",
"spec_commit": "2852f30e26ca5fb779565741ec042094cb110abd",
"sha256": "ed1ad4ba94aaeb2068b78969ef901b1150f7b2f06cf86472b3032abee1380b6a"
"spec_commit": "ead35b59b4fda8b32e276810025d8f92bdcec1b6",
"sha256": "e00f675287e8cf078688c26c8a89d283ff2613da3b76d5cd15aff9d189df639c"
}
]