Skip to content

Commit 359dd85

Browse files
Merge pull request modelcontextprotocol#40 from modelcontextprotocol/justin/fix-roots-request
roots/list should not be marked as a client request
2 parents 7e5a3e8 + 22bc128 commit 359dd85

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

schema/schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,6 @@
168168
},
169169
{
170170
"$ref": "#/definitions/CompleteRequest"
171-
},
172-
{
173-
"$ref": "#/definitions/ListRootsRequest"
174171
}
175172
]
176173
},

schema/schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,13 +995,13 @@ export type ClientRequest =
995995
| SubscribeRequest
996996
| UnsubscribeRequest
997997
| CallToolRequest
998-
| ListToolsRequest
999-
| ListRootsRequest;
998+
| ListToolsRequest;
1000999

10011000
export type ClientNotification =
10021001
| ProgressNotification
10031002
| InitializedNotification
10041003
| RootsListChangedNotification;
1004+
10051005
export type ClientResult = EmptyResult | CreateMessageResult | ListRootsResult;
10061006

10071007
/* Server messages */

0 commit comments

Comments
 (0)