Convert between calendars
convert_calendarConverts a date between the Gregorian, Hijri (Umm al-Qura), Persian (Solar Hijri) and Hebrew calendars. Hijri results are the calculated Umm al-Qura calendar: the day a religious month really begins depends on local moon sighting and can differ by a day or two.
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": {
"date": "<date>",
"from": "<from>",
"to": "<to>"
},
"name": "convert_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target calendar | |
| date | Yes | Date in the source calendar as year-month-day with a four-digit year, e.g. 2026-12-01 or 1448-09-01 | |
| from | Yes | Source calendar |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| notes | Yes | Caveats and conventions that apply to this response. | |
| result | Yes | ||
| source | Yes | Where the data or the algorithm comes from. | |
| weekday | Yes | English weekday name | |
| gregorian | Yes | The same day in the Gregorian calendar | |
| supportedCalendars | Yes |