Find Related Issues
find_related_issuesFinds Sentry issues related to a given issue, including likely duplicates by stack trace, errors in the same trace, and error issues behind a metric alert, so you can check links before resolving or ignoring it.
Instructions
Find Sentry issues related to an issue: likely duplicates with a similar stack trace in the same project, other errors in the same trace, and the error issues behind a metric alert. Returns each related issue with its status and why it's related. Use it before resolving or ignoring an issue. It doesn't compare titles or error messages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_related_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass cached reads. | |
| limit | No | Maximum related issues per relation type. | |
| types | No | Relation types to return; all when omitted. similar_stacktrace: likely duplicates. same_trace: errors in the same trace, often the other side of a request. contributing: for a metric issue, the error issues behind it. | |
| issueId | No | The issue short ID, e.g. `PROJECT-1Z43`. | |
| issueUrl | No | The issue URL, e.g. https://my-org.sentry.io/issues/PROJECT-1Z43 | |
| regionUrl | No | ||
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| issueId | Yes | ||
| relatedIssues | Yes | Issues matched by more relation types first. | |
| relationTypes | Yes | Whether each requested relation type ran. | |
| organizationSlug | Yes | ||
| suggestedActions | Yes |