# It then applies the custom `ToolSelectionQuality` metric (or any provided metrics) to score each result.