Search occasions
ti_search_eventsSearch occasion names or descriptions to find event dates, including holidays, across Jalali, Gregorian, and Hijri calendars for a specified year.
Instructions
Search all occasions (monasebat) of a Jalali year by keyword and return each match with its dates.
Use for "when is Teacher's Day". Title matches first, then description matches, each in date order.
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": {
"query": "<query>"
},
"name": "ti_search_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Jalali year. Omit for current. | |
| limit | No | Max results. | |
| query | Yes | Text in occasion names or descriptions, e.g. 'معلم'. | |
| calendar | No | Only this calendar's occasions (jalali national, gregorian world days, hijri religious). | |
| holiday_only | No | Only official holidays. |