(m map[string]any, key, fallback string)
| 423 | for key, rawValue := range valueMap { |
| 424 | if propSchema := mapFromAny(props[key]); len(propSchema) > 0 { |
| 425 | out[key] = coerceMCPValueForSchema(rawValue, propSchema, root) |
| 426 | } else { |
| 427 | out[key] = rawValue |
| 428 | } |
| 429 | } |
| 430 | return out |
| 431 | case "array": |
| 432 | items := mapFromAny(schema["items"]) |
| 433 | if len(items) == 0 { |
no outgoing calls
no test coverage detected