graph_list_events
Lists calendar events for a date range or specified/shared calendar, supporting paging, filters, and compact results.
Instructions
List calendar events. Uses calendarView for date ranges, /events otherwise.
Args: start_datetime: Start of date range (ISO 8601, e.g. "2025-01-01T00:00:00Z"). Required with end_datetime for date range queries. end_datetime: End of date range (ISO 8601). Required with start_datetime. calendar_id: Optional calendar ID. Defaults to primary calendar. top: Maximum number of events to return (default 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. filter_query: Optional OData filter (e.g. "isCancelled eq false"). Only applied on the /events path, because calendarView does not accept arbitrary filters. A filter on a recipient or organizer-style property also drops the sort, which Graph refuses to combine with it. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. body_type: Body format to request: "html" or "text" (default "html"). Use "text" to avoid pulling large HTML bodies into context. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "graph_list_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| user | No | ||
| compact | No | ||
| body_type | No | html | |
| next_link | No | ||
| calendar_id | No | ||
| end_datetime | No | ||
| filter_query | No | ||
| start_datetime | No | ||
| include_next_link | No |