Time per calendar
time_per_calendarAggregate event durations per calendar within a date range to measure time consumed, event counts, all-day counts, and each calendar's share of the window; read-only calendars are excluded by default.
Instructions
Aggregate event durations per calendar within a time window. Returns timed seconds, event counts, all-day counts, and percentage of the window each calendar consumed. Common read-only calendars (US/CN holidays, birthdays, Siri Suggestions, Scheduled Reminders) are excluded by default.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "time_per_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| start_date | Yes | ||
| skip_allday | No | ||
| exclude_calendars | No |