Repository navigation
feat(tools): Allow eventId on get_issue_breadcrumbs - #1224
Merged
Merged
Conversation
Keep latest as the default while letting callers fetch breadcrumbs for a specific event within an issue. Co-Authored-By: David Cramer <david@sentry.io>
dcramer
marked this pull request as ready for review
August 3, 2026 16:23
Require a non-empty eventId so whitespace-only values fail validation instead of requesting /events//.
dcramer
reviewed
Aug 3, 2026
Remove the get_issue_breadcrumbs hints block that restated the default and eventId behavior already covered by the description and schema.
Prevent path traversal through unencoded eventId (and related segments) when looking up issue events after project-constraint checks.
Tighten ParamEventId to 32-char hex and add ParamEventIdOrLatest so issue-scoped tools accept either a real event id or latest by default. Co-Authored-By: David Cramer <david@sentry.io>
This branch was previously deployed
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.
Let
get_issue_breadcrumbstake an optionaleventIdso callers can inspect breadcrumbs for more than the newest event in an issue. Omitted values still resolve tolatest.Event selection
The tool and helper now call
getEventForIssuewitheventId(defaultlatest), matching the existing stacktrace tool pattern. Generated tool/skill definitions were regenerated.Fixes #1222
Requested by David Cramer.
--
View Junior Session Sentry