{"ok":true,"tool":"Age Calculator","operation":"calculate-age","description":"Calculate exact age between a birth date and a target date (defaults to today).","method":"POST","endpoint":"/api/age-calculator","webUrl":"https://toolhub-5eo.pages.dev/tools/age-calculator","parameters":{"type":"object","properties":{"birthDate":{"type":"string","format":"date","description":"Date of birth in YYYY-MM-DD format"},"targetDate":{"type":"string","format":"date","description":"Age-at date in YYYY-MM-DD format. Defaults to today if omitted."}},"required":["birthDate"]},"response":{"type":"object","properties":{"years":{"type":"integer"},"months":{"type":"integer"},"days":{"type":"integer"},"totalDays":{"type":"integer","description":"Total days alive"},"nextBirthdayDays":{"type":"integer","description":"Days until next birthday"}}},"example":{"request":{"birthDate":"1990-05-15"},"response_shape":{"type":"object","properties":{"years":{"type":"integer"},"months":{"type":"integer"},"days":{"type":"integer"},"totalDays":{"type":"integer","description":"Total days alive"},"nextBirthdayDays":{"type":"integer","description":"Days until next birthday"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/age-calculator. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  birthDate (string, required) — Date of birth in YYYY-MM-DD format\n  targetDate (string, optional) — Age-at date in YYYY-MM-DD format. Defaults to today if omitted.","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/age-calculator -H \"Content-Type: application/json\" -d '{\"birthDate\":\"1990-05-15\"}'"}