Text Reflow
🤖 AI Drafted (Not reviewed)
Join soft-wrapped lines within paragraphs, preserve paragraph structure, and de-hyphenate words split across line breaks. Optional AI refinement pass available for edge-case word joins.
|
|
| Tool id |
text_reflow |
| Category |
transform |
| Uses a language model |
yes |
| Needs a generative model |
no |
| Runs over many items |
yes |
| Item handling |
batch |
| Structured output |
no |
| Human-verified |
not yet |
What it reads
| Port |
Type |
Required |
What it is |
Text (text) |
text |
yes |
Hard-wrapped OCR or scanned text to reflow. |
What it emits
| Port |
Type |
Required |
What it is |
Text (text) |
text |
— |
Reflowed text with preserved paragraph structure. |
Options
| Option |
Type |
Default |
What it does |
use_ai_refinement |
boolean |
no |
Optional: Call LLM to refine reflowed text and catch edge-case word joins. Disabled by default; programmatic reflow is sufficient for most cases. |
The prompt it sends
This tool does not send a prompt — it does its work in code.