{"ok":true,"data":{"tool":{"slug":"text-cleaner","name":"Text Cleaner","section":"tools","category":"Text Tools","subcategory":"Text Transformation","url":"/tools/text-transformation/text-cleaner/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Normalize whitespace, line breaks, and selected invisible characters.","input_schema":{"type":"object","properties":{"source":{"type":"string","description":"Enter text to clean for this calculation."},"space_mode":{"type":"string","description":"Enter space cleanup for this calculation.","enum":["collapse","trim_lines","preserve"]},"blank_lines":{"type":"string","description":"Enter blank lines for this calculation.","enum":["single","remove","preserve"]},"unicode_mode":{"type":"string","description":"Enter unicode normalization for this calculation.","enum":["NFC","NFKC","none"]}},"required":["source","space_mode","blank_lines","unicode_mode"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"cleaned_text":{"type":"string","description":"Cleaned text calculated by the tool."},"characters_removed":{"type":"number","description":"Characters removed calculated by the tool."},"line_count":{"type":"number","description":"Lines calculated by the tool."},"changes":{"type":"array","description":"Cleanup actions calculated by the tool."}},"additionalProperties":false},"examples":[{"title":"Text Cleaner worked example","description":null,"input":{"source":"  UtilityPages\t tools  \r\n\r\n run   privately.  ","space_mode":"collapse","blank_lines":"single","unicode_mode":"NFC"},"output":{"cleaned_text":"UtilityPages tools\n\nrun privately.","characters_removed":12,"line_count":3,"changes":[{"action":"Collapsed spaces and trimmed lines"},{"action":"Collapsed blank lines"}]}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"d8f8063c85cca1726bf3a5b5"}