Count business days (Türkiye)
count_business_daysCounts business days between two dates in Türkiye, both dates included. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "count_business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Date, YYYY-MM-DD | |
| from | Yes | Date, YYYY-MM-DD | |
| calendar | No | standard: general business days. public_sector: also excludes announced administrative leave (from 2026). tcmb: days the central bank publishes exchange rates (no bulletin on eves). | standard |
| half_days | No | Count half-day eves as working days or as holidays. | working |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| rule | Yes | ||
| source | Yes | ||
| calendar | Yes | ||
| half_days | Yes | ||
| disclaimer | Yes | ||
| business_days | Yes | ||
| calendar_days | Yes |