Lunar Date Conversion
almanac.convert_lunar_dateConverts a specified lunar year, month, and day—including optional leap-month status—into its Gregorian date, validating year range, leap month existence, day count, and conversion consistency.
Instructions
将明确的农历年月日转换为公历日期;校验年份范围、闰月是否存在、当月天数与转换回显一致性。
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": {
"year": "<year>",
"month": "<month>",
"day": "<day>"
},
"name": "almanac.convert_lunar_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| year | Yes | ||
| month | Yes | 农历月使用正数 1-12;是否闰月由 is_leap_month 单独声明。 | |
| is_leap_month | No |