Is it a day off?
is_holidayCheck if a Gregorian (YYYY-MM-DD) or Jalali (YYYY/MM/DD) date is a Friday or official holiday in Iran and identify the holiday.
Instructions
Whether a day is a Friday or an official holiday in Iran, and which.
Args: value: Gregorian YYYY-MM-DD or Jalali YYYY/MM/DD.
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": {
"value": "<value>"
},
"name": "is_holiday"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jalali | Yes | The day, Jalali YYYY/MM/DD. | |
| holidays | Yes | Official holidays on this day, if any. | |
| gregorian | Yes | The day, Gregorian (ISO 8601). | |
| is_friday | Yes | Friday, the weekly day off. | |
| is_day_off | Yes | A Friday or an official holiday. | |
| weekday_en | Yes | English weekday. | |
| weekday_fa | Yes | Persian weekday. |