Get Upcoming Events
get_upcoming_eventsRetrieve the current user's upcoming Canvas calendar events and assignments for the next week, then filter returned items by event, assignment, or sub-assignment type.
Instructions
Get the current user's upcoming calendar events and assignments. Canvas caps this endpoint at roughly the next 1 week and at most 20 events server-side — neither limit is adjustable, and results silently stop there even if more events fall later. For a longer or specific date range, use list_calendar_events with explicit start_date/end_date instead. Canvas does not support filtering this endpoint server-side; type filters the returned items client-side by their own type field ("event", "assignment", or "sub_assignment") instead.
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": "get_upcoming_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return items of this type ("event", "assignment", or "sub_assignment"). Applied client-side after the fetch — Canvas has no server-side filter for this endpoint. |