Skip to content

Commit ebf2073

Browse files
author
Abhimanyu Siwach
committed
remove elicitation from 2025-03-26 spec
1 parent dbb2ac4 commit ebf2073

File tree

2 files changed

+2
-109
lines changed

2 files changed

+2
-109
lines changed

schema/2025-03-26/schema.json

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,6 @@
170170
"ClientCapabilities": {
171171
"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.",
172172
"properties": {
173-
"elicitation": {
174-
"additionalProperties": true,
175-
"description": "Present if the client supports elicitation from the server.",
176-
"properties": {},
177-
"type": "object"
178-
},
179173
"experimental": {
180174
"additionalProperties": {
181175
"additionalProperties": true,
@@ -273,9 +267,6 @@
273267
},
274268
{
275269
"$ref": "#/definitions/ListRootsResult"
276-
},
277-
{
278-
"$ref": "#/definitions/ElicitResult"
279270
}
280271
]
281272
},
@@ -476,67 +467,6 @@
476467
"description": "An opaque token used to represent a cursor for pagination.",
477468
"type": "string"
478469
},
479-
"ElicitRequest": {
480-
"description": "A request from the server to elicit additional information from the user via the client.",
481-
"properties": {
482-
"method": {
483-
"const": "elicitation/create",
484-
"type": "string"
485-
},
486-
"params": {
487-
"properties": {
488-
"message": {
489-
"description": "The message to present to the user.",
490-
"type": "string"
491-
}
492-
},
493-
"required": [
494-
"message"
495-
],
496-
"type": "object"
497-
}
498-
},
499-
"required": [
500-
"method",
501-
"params"
502-
],
503-
"type": "object"
504-
},
505-
"ElicitResult": {
506-
"description": "The client's response to an elicitation request.",
507-
"properties": {
508-
"_meta": {
509-
"additionalProperties": {},
510-
"description": "This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.",
511-
"type": "object"
512-
},
513-
"cancelled": {
514-
"description": "Whether the elicitation was cancelled.",
515-
"type": "boolean"
516-
},
517-
"content": {
518-
"description": "The user's response to the elicitation request.",
519-
"items": {
520-
"anyOf": [
521-
{
522-
"$ref": "#/definitions/TextContent"
523-
},
524-
{
525-
"$ref": "#/definitions/ImageContent"
526-
},
527-
{
528-
"$ref": "#/definitions/AudioContent"
529-
}
530-
]
531-
},
532-
"type": "array"
533-
}
534-
},
535-
"required": [
536-
"content"
537-
],
538-
"type": "object"
539-
},
540470
"EmbeddedResource": {
541471
"description": "The contents of a resource, embedded into a prompt or tool call result.\n\nIt is up to the client how best to render embedded resources for the benefit\nof the LLM and/or the user.",
542472
"properties": {
@@ -1944,9 +1874,6 @@
19441874
},
19451875
{
19461876
"$ref": "#/definitions/ListRootsRequest"
1947-
},
1948-
{
1949-
"$ref": "#/definitions/ElicitRequest"
19501877
}
19511878
]
19521879
},

schema/2025-03-26/schema.ts

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ export interface ClientCapabilities {
220220
* Present if the client supports sampling from an LLM.
221221
*/
222222
sampling?: object;
223-
/**
224-
* Present if the client supports elicitation from the server.
225-
*/
226-
elicitation?: object;
227223
}
228224

229225
/**
@@ -1212,35 +1208,6 @@ export interface RootsListChangedNotification extends Notification {
12121208
method: "notifications/roots/list_changed";
12131209
}
12141210

1215-
/* Elicitation */
1216-
/**
1217-
* A request from the server to elicit additional information from the user via the client.
1218-
*/
1219-
export interface ElicitRequest extends Request {
1220-
method: "elicitation/create";
1221-
params: {
1222-
/**
1223-
* The message to present to the user.
1224-
*/
1225-
message: string;
1226-
};
1227-
}
1228-
1229-
/**
1230-
* The client's response to an elicitation request.
1231-
*/
1232-
export interface ElicitResult extends Result {
1233-
/**
1234-
* The user's response to the elicitation request.
1235-
*/
1236-
content: (TextContent | ImageContent | AudioContent)[];
1237-
1238-
/**
1239-
* Whether the elicitation was cancelled.
1240-
*/
1241-
cancelled?: boolean;
1242-
}
1243-
12441211
/* Client messages */
12451212
export type ClientRequest =
12461213
| PingRequest
@@ -1263,14 +1230,13 @@ export type ClientNotification =
12631230
| InitializedNotification
12641231
| RootsListChangedNotification;
12651232

1266-
export type ClientResult = EmptyResult | CreateMessageResult | ListRootsResult | ElicitResult;
1233+
export type ClientResult = EmptyResult | CreateMessageResult | ListRootsResult;
12671234

12681235
/* Server messages */
12691236
export type ServerRequest =
12701237
| PingRequest
12711238
| CreateMessageRequest
1272-
| ListRootsRequest
1273-
| ElicitRequest;
1239+
| ListRootsRequest;
12741240

12751241
export type ServerNotification =
12761242
| CancelledNotification

0 commit comments

Comments
 (0)