fn validate_optional_f64_min_max( tool: &str, field: &str, min: Option<f64>, max: Option<f64>, ) -> Result<(), String>