lunardate
Convert a Gregorian date to the traditional Chinese lunar calendar, returning the lunar year with zodiac and lunar date in Chinese characters.
Instructions
Gregorian-Lunar Calendar Conversion API Request
Parameters:
date: Gregorian date to convert (YYYY-MM-DD format)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/lunardate.php?date=2025-07-26
Response Keys:
LunarYear: Lunar year in traditional Chinese with zodiac (e.g. "癸卯年,兔")
LunarDate: Lunar date in traditional Chinese (e.g. "六月初二")
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": {
"date": "<date>"
},
"name": "lunardate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Gregorian date to convert (YYYY-MM-DD format) |