Lunar date to Western date
convert_lunar_dateConverts a Chinese lunar calendar date (农历 / 阴历: lunar year, month, day, leap month) to the Western (Gregorian) date. Covers questions like 'when is my lunar birthday this year', 'when is the 15th of the 8th lunar month in 2027', 'Mid-Autumn Festival date', '农历八月十五是哪天'.
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": {
"lunar_year": "<lunar_year>",
"lunar_month": "<lunar_month>",
"lunar_day": "<lunar_day>"
},
"name": "convert_lunar_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lunar_day | Yes | 1 to 30 | |
| lunar_year | Yes | Lunar year, named by the Western year in which it begins, e.g. 2027. | |
| lunar_month | Yes | 1 to 12 | |
| is_leap_month | No | True for a leap (intercalary) month. Default false. |