{"id":"text-run-length-encode","version":"1.0.0","description":"Run-length encode Unicode text into canonical count:HEX; records and return the encoded string.","supported_operations":["run length encode text","compress repeated characters","encode character runs","make RLE text","count consecutive Unicode characters","convert a string to run length format"],"unsupported_operations":["general-purpose compression","byte-oriented run-length encoding"],"semantics":["Format is repeated count:HEX; records, where count is base-10 without leading zero and HEX is an uppercase Unicode scalar value.","Runs count Unicode code points; adjacent equal code points form one run.","The empty string encodes as the empty string."],"limits":{"max_input_bytes":4096,"max_code_points":4096,"max_output_bytes":16384},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","maxLength":4096}}},"output_schema":{"type":"object","additionalProperties":false,"required":["encoded","standard_version"],"properties":{"encoded":{"type":"string"},"standard_version":{"type":"string","const":"Unicode 16.0.0"}}},"examples":[{"input":{"text":"AA😀😀😀"},"output":{"encoded":"2:41;3:1F600;","standard_version":"Unicode 16.0.0"}},{"input":{"text":""},"output":{"encoded":"","standard_version":"Unicode 16.0.0"}}],"execute_url":"/v1/tools/text-run-length-encode/versions/1.0.0/execute"}