{"ok":true,"tool":"URL Encoder & Decoder","operation":"encode-url","description":"URL-encode or URL-decode a string.","method":"POST","endpoint":"/api/url-encoder","webUrl":"https://toolhub-5eo.pages.dev/tools/url-encoder","parameters":{"type":"object","properties":{"text":{"type":"string","description":"Text to encode or URL to decode"},"decode":{"type":"boolean","description":"Set to true to decode (default false = encode)"}},"required":["text"]},"response":{"type":"object","properties":{"result":{"type":"string"}}},"example":{"request":{"text":"hello world & co"},"response_shape":{"type":"object","properties":{"result":{"type":"string"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/url-encoder. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  text (string, required) — Text to encode or URL to decode\n  decode (boolean, optional) — Set to true to decode (default false = encode)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/url-encoder -H \"Content-Type: application/json\" -d '{\"text\":\"hello world & co\"}'"}