{"ok":true,"tool":"CSS Gradient Generator","operation":"generate-gradient","description":"Generate a CSS gradient.","method":"POST","endpoint":"/api/gradient-generator","webUrl":"https://toolhub-5eo.pages.dev/tools/gradient-generator","parameters":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial","conic"],"description":"Gradient type (default linear)"},"from":{"type":"string","description":"Starting hex color"},"to":{"type":"string","description":"Ending hex color"},"angle":{"type":"number","description":"Angle in degrees (default 90)"}},"required":["from","to"]},"response":{"type":"object","properties":{"css":{"type":"string"},"type":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"angle":{"type":"number"}}},"example":{"request":{"type":"linear","from":"#4f8cff","to":"#22c55e","angle":90},"response_shape":{"type":"object","properties":{"css":{"type":"string"},"type":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"angle":{"type":"number"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/gradient-generator. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  type (string, optional, one of: linear|radial|conic) — Gradient type (default linear)\n  from (string, required) — Starting hex color\n  to (string, required) — Ending hex color\n  angle (number, optional) — Angle in degrees (default 90)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/gradient-generator -H \"Content-Type: application/json\" -d '{\"type\":\"linear\",\"from\":\"#4f8cff\",\"to\":\"#22c55e\",\"angle\":90}'"}