diff --git a/schema/schema.unstable.json b/schema/schema.unstable.json index 70afba0..9845679 100644 --- a/schema/schema.unstable.json +++ b/schema/schema.unstable.json @@ -1917,6 +1917,10 @@ "message": { "description": "A human-readable message describing what input is needed.", "type": "string" + }, + "sessionId": { + "$ref": "#/$defs/SessionId", + "description": "The session this elicitation is tied to." } }, "required": ["message"], diff --git a/types_gen.go b/types_gen.go index 5c83744..59879ed 100644 --- a/types_gen.go +++ b/types_gen.go @@ -6782,6 +6782,8 @@ type UnstableCreateElicitationForm struct { Mode string `json:"mode"` // A JSON Schema describing the form fields to present to the user. RequestedSchema UnstableElicitationSchema `json:"requestedSchema"` + // The session this elicitation is tied to. + SessionId SessionId `json:"sessionId,omitempty"` } // URL-based elicitation where the client directs the user to a URL. @@ -6797,6 +6799,8 @@ type UnstableCreateElicitationUrl struct { // A human-readable message describing what input is needed. Message string `json:"message"` Mode string `json:"mode"` + // The session this elicitation is tied to. + SessionId SessionId `json:"sessionId,omitempty"` // The URL to direct the user to. Url string `json:"url"` }