get_festivals
Retrieve festivals, solar terms, and public holidays for specific dates and countries, including Chinese lunar events and international holidays.
Instructions
Get festivals, solar terms, and public holidays within a date range. Supports Chinese (lunar and solar) festivals and public holidays from various countries.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_festivals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | Start date in YYYY-MM-DD format | |
| end_date | Yes | End date in YYYY-MM-DD format | |
| country | No | Country code for public holidays (e.g. CN, US, HK). Defaults to CN. | |
| types | No | Filter by event types. If omitted, returns all types. |