{"ok":true,"tool":"Date Adder","operation":"add-to-date","description":"Add or subtract years, months, weeks, and days from a date.","method":"POST","endpoint":"/api/date-adder","webUrl":"https://toolhub-5eo.pages.dev/tools/date-adder","parameters":{"type":"object","properties":{"date":{"type":"string","description":"Start date (YYYY-MM-DD)"},"years":{"type":"number","description":"Years to add (default 0)"},"months":{"type":"number","description":"Months to add (default 0)"},"weeks":{"type":"number","description":"Weeks to add (default 0)"},"days":{"type":"number","description":"Days to add (default 0)"},"direction":{"type":"string","enum":["add","subtract"],"description":"Add or subtract (default add)"}},"required":["date"]},"response":{"type":"object","properties":{"startDate":{"type":"string"},"resultDate":{"type":"string"},"daysDifference":{"type":"number"}}},"example":{"request":{"date":"2024-06-15","years":1,"months":2,"days":10},"response_shape":{"type":"object","properties":{"startDate":{"type":"string"},"resultDate":{"type":"string"},"daysDifference":{"type":"number"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/date-adder. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  date (string, required) — Start date (YYYY-MM-DD)\n  years (number, optional) — Years to add (default 0)\n  months (number, optional) — Months to add (default 0)\n  weeks (number, optional) — Weeks to add (default 0)\n  days (number, optional) — Days to add (default 0)\n  direction (string, optional, one of: add|subtract) — Add or subtract (default add)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/date-adder -H \"Content-Type: application/json\" -d '{\"date\":\"2024-06-15\",\"years\":1,\"months\":2,\"days\":10}'"}