{
    "slug": "reverse-text",
    "name": "Reverse Text",
    "url": "https://directory.milunir.com/text-tools/text-formatting/reverse-text/",
    "description": "Write text backwards, flip the order of words in a sentence, turn a list upside down, or reverse the letters inside each word. Emoji stay intact.",
    "inputs": {
        "type": "object",
        "properties": {
            "text": {
                "type": "string",
                "description": "Your text"
            },
            "reverse_by": {
                "type": "string",
                "enum": [
                    "characters",
                    "words",
                    "lines",
                    "each_word"
                ],
                "description": "Reverse",
                "default": "characters"
            }
        },
        "additionalProperties": false,
        "required": [
            "text"
        ]
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Reversed text"
        },
        {
            "key": "characters",
            "label": "Characters"
        },
        {
            "key": "words",
            "label": "Words"
        },
        {
            "key": "lines",
            "label": "Lines"
        }
    ],
    "modes": null,
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/reverse-text",
    "mcp_tool": "reverse_text",
    "example": {
        "inputs": {
            "text": "the sky is blue",
            "reverse_by": "words"
        },
        "output": "Reversed text: blue is sky the\nCharacters: 15\nWords: 4"
    }
}