search_errors_in_file
Identify and analyze production errors in a specific file using filename or parent folder. Enables tracking error patterns, frequencies, and recent occurrences for effective debugging and issue resolution.
Instructions
Search for errors recently occurring in a specific file. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename.
Use this tool when you need to:
- Search for production errors in a specific file 
- Analyze error patterns and frequencies 
- Find recent or frequently occurring errors. 
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| filename | Yes | The filename to search for errors in. | |
| organizationSlug | No | The organization's slug. This will default to the first org you have access to. | |
| sortBy | No | Sort the results either by the last time they occurred or the count of occurrences. | last_seen |