feat: add get_event_type_settings MCP tool for team event types#101
Draft
joeauyeung wants to merge 3 commits into
Draft
feat: add get_event_type_settings MCP tool for team event types#101joeauyeung wants to merge 3 commits into
joeauyeung wants to merge 3 commits into
Conversation
Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Instead of cherry-picking specific RR fields, pass through the raw API response so the tool surfaces whatever event type settings the Cal.com API exposes. Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Renames the MCP tool to better reflect its purpose — it returns full event type settings, not just round-robin configuration. Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
get_event_type_settingsMCP tool that fetches an event type and returns the full settings as exposed by the Cal.com v2 API — including scheduling type, hosts, locations, booking fields, limits, and all other configuration.Supports org-scoped team event types via
orgId+teamIdparams (routes to/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}). The response is passed through without transformation.Registered with
READ_ONLYannotations. 4 unit tests cover: full passthrough, org-scoped path routing, arbitrary settings passthrough, and error handling.Link to Devin session: https://app.devin.ai/sessions/973bb70e965b4c4e9def15bc7fc5012b
Requested by: @joeauyeung