next_occurrence
Calculate the next instance of a recurring event based on daily, weekly, monthly, or yearly patterns. Specify start date, time, and timezone to determine the exact occurrence.
Instructions
Find next occurrence of a recurring event
Input Schema
Name | Required | Description | Default |
---|---|---|---|
day_of_month | No | For monthly (1-31) | |
day_of_week | No | For weekly (0-6, 0=Sunday) | |
pattern | Yes | Recurrence pattern | |
start_from | No | Start searching from | |
time | No | Time in HH:mm format | |
timezone | No | Timezone for calculation (default: system timezone) |
Input Schema (JSON Schema)
{
"properties": {
"day_of_month": {
"description": "For monthly (1-31)",
"type": "number"
},
"day_of_week": {
"description": "For weekly (0-6, 0=Sunday)",
"type": "number"
},
"pattern": {
"description": "Recurrence pattern",
"enum": [
"daily",
"weekly",
"monthly",
"yearly"
],
"type": "string"
},
"start_from": {
"description": "Start searching from",
"type": "string"
},
"time": {
"description": "Time in HH:mm format",
"type": "string"
},
"timezone": {
"description": "Timezone for calculation (default: system timezone)",
"type": "string"
}
},
"required": [
"pattern"
],
"type": "object"
}