Long weekends
ti_long_weekendsFinds consecutive days off in a Jalali year by joining official holidays with Fridays, optionally Thursdays, to list long weekends filtered by minimum run length.
Instructions
Find runs of consecutive days off in a Jalali year: official holidays joined with Fridays (optionally Thursdays).
Use for "long weekends in 1405". Bridge days are not counted; runs are cut at the year boundary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ti_long_weekends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Jalali year. Omit for current. | |
| min_days | No | Shortest run to list. | |
| thursday_off | No | Count Thursdays as days off. |