{"inputSchema":{"type":"object","properties":{"text":{"type":"string","maxLength":12000,"minLength":1},"locale":{"type":"string","maxLength":80,"minLength":1},"target_locale":{"type":"string","maxLength":80,"minLength":1}},"required":["text"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"locale":{"type":"string"},"reversed_pairs":{"type":"integer"},"changed_positions":{"type":"integer"}},"required":["locale","reversed_pairs","changed_positions"]},"limitations":{"type":"string"}}},"outputExample":{"measured_at":"2026-11-19T09:26:25.941Z","source":{"reference":"Unicode CLDR via ICU 78.3","retrieved_at":"2026-11-19T09:26:25.941Z"},"data":{"locale":"de","reversed_pairs":3,"changed_positions":4},"limitations":"ICU collation of supplied lines. Indices are zero-based. Ties retain input order."},"priceModel":null,"requestExample":{"locale":"de","text":"Zug\nApfel\nÄpfel\napfel\nAal\nTeil 10\nTeil 2","target_locale":"sv"},"usageGuide":["ICU collation of supplied lines. Indices are zero-based. Ties retain input order."],"tags":["collation locale switch distance","localization","translation tools","unicode collation","locale sorting"],"price_usdc":"0.005"}