Skip to content

Commit dfc8848

Browse files
committed
fix: documentation bug in SetLevelRequest
The description SetLevelRequest mention that logging notification to be `notifications/logging/message` while in fact it is `notifications/message`. Github-Issue: modelcontextprotocol#167
1 parent bb1446f commit dfc8848

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

schema/2024-11-05/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@
18761876
"properties": {
18771877
"level": {
18781878
"$ref": "#/definitions/LoggingLevel",
1879-
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message."
1879+
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message."
18801880
}
18811881
},
18821882
"required": [

schema/2024-11-05/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ export interface SetLevelRequest extends Request {
714714
method: "logging/setLevel";
715715
params: {
716716
/**
717-
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
717+
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.
718718
*/
719719
level: LoggingLevel;
720720
};

schema/draft/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@
19201920
"properties": {
19211921
"level": {
19221922
"$ref": "#/definitions/LoggingLevel",
1923-
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message."
1923+
"description": "The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message."
19241924
}
19251925
},
19261926
"required": [

schema/draft/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ export interface SetLevelRequest extends Request {
707707
method: "logging/setLevel";
708708
params: {
709709
/**
710-
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
710+
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.
711711
*/
712712
level: LoggingLevel;
713713
};

0 commit comments

Comments
 (0)