Festival details
festival_detailsLook up one festival by name in a given year and return its computed date, lunar month, tithi and the rule behind it. Name matching is case-insensitive and partial (e.g. 'diwali', 'holi', 'makara'); first match wins. Use when the user asks when a specific festival is. Do NOT use to list several; use list_festivals.
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": {
"name": "<name>",
"year": "<year>"
},
"name": "festival_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Festival name or part of it, case-insensitive, e.g. "Diwali", "Holi", "Maha Shivaratri", "Onam", "Makara Sankranti". | |
| year | Yes | Gregorian year, 2020-2040, e.g. 2026 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Computed Gregorian date, YYYY-MM-DD (approximate, +/-1 day at tithi edges). | |
| name | Yes | Festival name, e.g. "Diwali / Lakshmi Puja" or "Makara Sankranti / Pongal". | |
| about | Yes | Short meaning and the lunar or solar rule that fixes the date. | |
| month | Yes | Amanta lunar month name in effect on that date, e.g. Ashwin. | |
| tithi | Yes | Lunar day index at IST noon on that date, 0-29 (0 = Shukla Pratipada, 29 = Amavasya), as 'index N'. |