{"id":"text-tabs-to-spaces","version":"1.0.0","description":"Convert tab characters to spaces.","supported_operations":["text tabs to spaces","convert tabs to spaces","replace tabs with spaces"],"unsupported_operations":["convert spaces to tabs","unicode width alignment","read files"],"semantics":["Replaces tab characters (\\t) with space characters.","Lines are recognized across standard line endings: LF (\\n), CRLF (\\r\\n), and CR-only (\\r).","If leading_only is true, only tabs in leading whitespace (before the first non-whitespace character) on each line (including after LF, CRLF, or CR) are replaced.","If leading_only is false or omitted, all tab characters throughout the text are replaced.","Each replaced tab is converted to exactly tab_width spaces (between 1 and 16, default 4).","Does not calculate visual tab stops or Unicode character widths.","Returns the modified text and the number of tabs replaced."],"limits":{"max_text_bytes":1048576,"max_output_bytes":4194304},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","maxLength":1048576},"tab_width":{"type":"integer","minimum":1,"maximum":16},"leading_only":{"type":"boolean"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["text","replacements"],"properties":{"text":{"type":"string","maxLength":4194304},"replacements":{"type":"integer","minimum":0}}},"examples":[{"input":{"text":"\t\tHello\tWorld","tab_width":2,"leading_only":true},"output":{"text":"    Hello\tWorld","replacements":2}}],"execute_url":"/v1/tools/text-tabs-to-spaces/versions/1.0.0/execute"}