You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/schema.json
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,36 @@
87
87
],
88
88
"type": "object"
89
89
},
90
+
"CancelledNotification": {
91
+
"description": "This notification can be sent by either side to indicate that it is cancelling a previously-issued request.\n\nThe request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.\n\nThis notification indicates that the result will be unused, so any associated processing SHOULD cease.\n\nA client MUST NOT attempt to cancel its `initialize` request.",
92
+
"properties": {
93
+
"method": {
94
+
"const": "cancelled",
95
+
"type": "string"
96
+
},
97
+
"params": {
98
+
"properties": {
99
+
"reason": {
100
+
"description": "An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.",
101
+
"type": "string"
102
+
},
103
+
"requestId": {
104
+
"$ref": "#/definitions/RequestId",
105
+
"description": "The ID of the request to cancel.\n\nThis MUST correspond to the ID of a request previously issued in the same direction."
106
+
}
107
+
},
108
+
"required": [
109
+
"requestId"
110
+
],
111
+
"type": "object"
112
+
}
113
+
},
114
+
"required": [
115
+
"method",
116
+
"params"
117
+
],
118
+
"type": "object"
119
+
},
90
120
"ClientCapabilities": {
91
121
"description": "Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.",
* This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
120
+
*
121
+
* The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
122
+
*
123
+
* This notification indicates that the result will be unused, so any associated processing SHOULD cease.
124
+
*
125
+
* A client MUST NOT attempt to cancel its `initialize` request.
* The client SHOULD treat this as a substring of a model name; for example:
870
897
* - `claude-3-5-sonnet` should match `claude-3-5-sonnet-20241022`
871
898
* - `sonnet` should match `claude-3-5-sonnet-20241022`, `claude-3-sonnet-20240229`, etc.
872
899
* - `claude` should match any Claude model
873
-
*
900
+
*
874
901
* The client MAY also map the string to a different provider's model name or a different model family, as long as it fills a similar niche; for example:
875
902
* - `gemini-1.5-flash` could match `claude-3-haiku-20240307`
0 commit comments