(options []SearchOptions)
| 217 | } |
| 218 | |
| 219 | func getMaxResults(options []SearchOptions) int { |
| 220 | maxResults := DefaultMaxSearchResults |
| 221 | if len(options) > 0 && options[0].MaxResults > 0 { |
| 222 | maxResults = options[0].MaxResults |
| 223 | } |
| 224 | return maxResults |
| 225 | } |
| 226 | |
| 227 | func lowerInputPropertyNames(inputSchema any) []string { |
| 228 | if inputSchema == nil { |