Age Calculator
calculate_ageCalculate exact age from a birth date: age in years, years/months/days, Japanese kazoedoshi (traditional age), days since birth, next birthday and days until it, weekday of birth, Japanese era (wareki) of the birth date and the zodiac animal (eto). February 29 birthdays move to March 1 in non-leap years. Reference date defaults to today in Japan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"birth_date": "<birth_date>"
},
"name": "calculate_age"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". | |
| birth_date | Yes | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) | |
| reference_date | No | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |