Skip to content

Use calendarView for ranged event queries#2

Open
ADNewsom09 wants to merge 1 commit intokacase:mainfrom
ADNewsom09:codex/use-calendarview-for-range-queries
Open

Use calendarView for ranged event queries#2
ADNewsom09 wants to merge 1 commit intokacase:mainfrom
ADNewsom09:codex/use-calendarview-for-range-queries

Conversation

@ADNewsom09
Copy link
Copy Markdown

@ADNewsom09 ADNewsom09 commented Mar 9, 2026

Summary

Use Microsoft Graph's /me/calendarView endpoint when startDateTime and 2ndDateTime are provided to listEvents.

Why

The current implementation queries /me/calendar/events with a date filter. That can miss recurring meeting occurrences, which makes listCalendarEvents fail to return events that are visible in Outlook for the requested time window.

Validation

  • Reproduced the issue against a recurring Outlook event that was present in the calendar UI but missing from MCP results
  • Verified the TypeScript compile with
    px tsc

Notes

  • This keeps the non-ranged behavior on /me/calendar/events

@ADNewsom09 ADNewsom09 force-pushed the codex/use-calendarview-for-range-queries branch from 1db23d2 to d9d39a1 Compare March 9, 2026 18:06
@ADNewsom09 ADNewsom09 marked this pull request as ready for review March 9, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant