get_sentry_issue
Retrieve a Sentry issue by numeric ID, short ID, or URL to review core fields. Include the latest event for exception stack frames, message, and breadcrumbs.
Instructions
Retrieve a Sentry issue by numeric ID, short ID (e.g. PROJ-1A2) or issue URL. Returns essential issue fields only; the stacktrace is NOT included unless include_latest_event is true, which adds the latest event's exception (innermost max_stack_frames frames per exception), message and recent breadcrumbs. Supports field filtering, grep and automatic truncation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep_pattern | No | Optional: Regex pattern to filter response content. | |
| exclude_fields | No | Optional: List of fields to exclude (blacklist). Use dot notation for nested fields. | |
| include_fields | No | Optional: List of fields to include (whitelist). Use dot notation for nested fields (e.g., "latest_event.entries"). | |
| issue_id_or_url | Yes | Numeric issue ID or short ID (e.g. PROJ-1A2), or a full Sentry issue URL. | |
| max_stack_frames | No | Optional: Innermost stack frames kept per exception in latest_event (default: 5). Only applies with include_latest_event. | |
| include_latest_event | No | Also fetch the latest event (exception with stack frames, message, recent breadcrumbs). Default: false, so no stacktrace is returned. |