solar_to_lunar
Convert Gregorian solar dates to traditional lunar dates, returning lunar year, month, day, leap month info, and zodiac details. Find lunar dates for festivals, birthdays, or cultural events.
Instructions
Converts Gregorian (solar) calendar dates to traditional lunar calendar dates. Returns the corresponding lunar year, month, day, and leap month information if applicable. For Chinese calendar, also includes the year's zodiac animal, heavenly stem and earthly branch designations. Essential for finding lunar dates for traditional festivals, birth dates, or cultural events that follow the lunar calendar.
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": {
"solar_date": "<solar_date>"
},
"name": "solar_to_lunar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| culture | No | Cultural tradition | chinese |
| solar_date | Yes | Solar date in YYYY-MM-DD format |