The product
What the Grok remove line breaks tool does
The transformation is a single deterministic rule and it is worth stating exactly. Every run of one or more newline characters, together with any whitespace immediately around it, is replaced by one space. Any remaining run of two or more spaces is then collapsed to one. Finally the whole string is trimmed at both ends.
This route runs as an in-browser transformer. There is no server call, no stored text, no account and no usage allowance, because there is nothing on the other end to meter.
The consequence of the rule is the thing to understand before using it: the output is always exactly one line. That is not a setting, it is what the rule produces.