text_reverse_text
Reverse the order of text by characters, words, lines, sentences, or paragraphs. Optionally preserve per-line layout when reversing within lines.
Instructions
Reverse Text by Characters, Words, Lines, Sentences, or Paragraphs. Reverse the order of a text block at a chosen granularity (characters, words, lines, sentences, or paragraphs), optionally preserving per-line layout. Use text_reverse_text to flip or mirror text; use text_palindrome_checker to test whether text reads the same both ways, text_case_converter to change letter case, and text_randomizer to shuffle rather than reverse. Runs locally on the text you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns the reversed string plus before/after text statistics and the effective options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input text to reverse. Must not be blank. | |
| reverseType | No | Granularity of reversal (defaults to characters when omitted or unknown). | characters |
| preserveFormatting | No | When true with characters or words mode, reverse within each line instead of across the whole text (ignored for lines, sentences, paragraphs). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the reversal succeeded. | |
| result | No | The reversed text. | |
| stats | No | Text statistics computed before and after reversal. | |
| options | No | The effective options applied. |