File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -916,7 +916,8 @@ type ElicitParams struct {
916916 Meta `json:"_meta,omitempty"`
917917 // A human-readable message describing what information is being requested.
918918 Message string `json:"message"`
919- // A JSON Schema object defining the structure of the requested data.
919+ // A restricted subset of JSON Schema.
920+ // Only top-level properties are allowed, without nesting.
920921 RequestedSchema * jsonschema.Schema `json:"requestedSchema"`
921922}
922923
@@ -930,8 +931,8 @@ type ElicitResult struct {
930931 Meta `json:"_meta,omitempty"`
931932 // The action taken by the user: "accept", "decline", or "cancel".
932933 Action string `json:"action"`
933- // The data provided by the user if action is "accept". This should conform
934- // to the requested schema.
934+ // The submitted form data, only present when action is "accept".
935+ // Contains values matching the requested schema.
935936 Content map [string ]any `json:"content,omitempty"`
936937}
937938
You can’t perform that action at this time.
0 commit comments