convert_calendar
Convert dates between Gregorian and Chinese lunar calendars while providing Ganzhi, zodiac animal, solar terms, and festival details for accurate cultural or historical reference.
Instructions
Convert between Gregorian (solar) and Chinese Lunar calendar. Includes Ganzhi (天干地支), zodiac animal, solar terms, and festival information.
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": {
"direction": "<direction>",
"year": "<year>",
"month": "<month>",
"day": "<day>"
},
"name": "convert_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | Conversion direction | |
| year | Yes | Year | |
| month | Yes | Month (1-12) | |
| day | Yes | Day | |
| isLeapMonth | No | For lunar_to_gregorian: whether the month is a leap month (闰月). Defaults to false. |