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 @@ -899,7 +899,8 @@ type ElicitParams struct {
899899 Meta `json:"_meta,omitempty"`
900900 // A human-readable message describing what information is being requested.
901901 Message string `json:"message"`
902- // A JSON Schema object defining the structure of the requested data.
902+ // A restricted subset of JSON Schema.
903+ // Only top-level properties are allowed, without nesting.
903904 RequestedSchema * jsonschema.Schema `json:"requestedSchema"`
904905}
905906
@@ -913,8 +914,8 @@ type ElicitResult struct {
913914 Meta `json:"_meta,omitempty"`
914915 // The action taken by the user: "accept", "decline", or "cancel".
915916 Action string `json:"action"`
916- // The data provided by the user if action is "accept". This should conform
917- // to the requested schema.
917+ // The submitted form data, only present when action is "accept".
918+ // Contains values matching the requested schema.
918919 Content map [string ]any `json:"content,omitempty"`
919920}
920921
You can’t perform that action at this time.
0 commit comments