{"ok":true,"tool":"Discount Calculator","operation":"calculate-discount","description":"Calculate the final price and savings after a percentage discount.","method":"POST","endpoint":"/api/discount-calculator","webUrl":"https://toolhub-5eo.pages.dev/tools/discount-calculator","parameters":{"type":"object","properties":{"originalPrice":{"type":"number","description":"Original price before discount"},"discountPercent":{"type":"number","description":"Discount percentage (0-100)"}},"required":["originalPrice","discountPercent"]},"response":{"type":"object","properties":{"savings":{"type":"number"},"finalPrice":{"type":"number"},"originalPrice":{"type":"number"},"discountPercent":{"type":"number"}}},"example":{"request":{"originalPrice":80,"discountPercent":25},"response_shape":{"type":"object","properties":{"savings":{"type":"number"},"finalPrice":{"type":"number"},"originalPrice":{"type":"number"},"discountPercent":{"type":"number"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/discount-calculator. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  originalPrice (number, required) — Original price before discount\n  discountPercent (number, required) — Discount percentage (0-100)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/discount-calculator -H \"Content-Type: application/json\" -d '{\"originalPrice\":80,\"discountPercent\":25}'"}