sentry_get_issue_details
Retrieve comprehensive details of a Sentry issue: stack trace, breadcrumbs (events before error), request context, tags, and trace ID for root cause analysis.
Instructions
🔎 ROOT CAUSE TOOL - Use when the user asks: 'what happened before this error', 'show the stack trace', 'get context', 'why did this fail', 'details of this issue', 'what led to this', or as a follow-up after finding an interesting issue with sentry_search_issues. Fetches the full picture of one issue: summary (level, counts, first/last seen), the exception + stack trace, the BREADCRUMBS (the chronological events leading UP TO the error - the equivalent of 'logs before'), request context, tags, and the trace ID for cross-service investigation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reasoning": "<reasoning>",
"issue_id": "<issue_id>"
},
"name": "sentry_get_issue_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | Which event to inspect: 'latest' (default), 'oldest', 'recommended', or a specific event ID. | |
| issue_id | Yes | The numeric Sentry issue ID (the 'id' field from sentry_search_issues results, e.g. '7244297102'). | |
| reasoning | Yes | Explanation of why you are inspecting this issue. | |
| max_frames | No | How many stack frames to show per exception (innermost first). Default: 15. | |
| max_breadcrumbs | No | How many of the most recent breadcrumbs (events before the error) to show. Default: 20. |