jalali_period_range
Returns the start and end of a Jalali day, week, month, quarter, or year containing a given date, in both Jalali and Gregorian calendars, for reports and finance periods.
Instructions
Start/end (Jalali and Gregorian) of the Jalali day, week (Saturday-Friday), month, quarter (season) or year containing a date. Use for reports and finance periods instead of Gregorian date libraries.
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>",
"period": "<period>"
},
"name": "jalali_period_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| period | Yes |