search_errors_in_file
Search for Sentry errors in a specific file by path or name to identify and analyze issues affecting that file in your project.
Instructions
Search for Sentry errors occurring in a specific file. Find all issues related to a particular file path or filename.
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": {
"organization_slug": "<organization_slug>",
"project_slug": "<project_slug>",
"file_identifier": "<file_identifier>",
"identifier_type": "<identifier_type>"
},
"name": "search_errors_in_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_slug | Yes | The slug of the organization in Sentry | |
| project_slug | Yes | The slug of the project in Sentry | |
| file_identifier | Yes | The path or name of the file to search for errors in | |
| identifier_type | Yes | Whether to search by filename or full filepath | |
| format | No | Output format (default: markdown) | markdown |
| view | No | Level of detail in results (default: detailed) | detailed |