We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d139d commit 83b0f0aCopy full SHA for 83b0f0a
mcp/client.go
@@ -338,7 +338,7 @@ func validateElicitSchema(schema *jsonschema.Schema) error {
338
// validateElicitProperty validates a single property in an elicitation schema.
339
func validateElicitProperty(propName string, propSchema *jsonschema.Schema) error {
340
// Check if this property has nested properties (not allowed)
341
- if propSchema.Properties != nil && len(propSchema.Properties) > 0 {
+ if len(propSchema.Properties) > 0 {
342
return fmt.Errorf("elicit schema property %q contains nested properties, only primitive properties are allowed", propName)
343
}
344
0 commit comments