get_errors_issues
Retrieve and analyze application errors and issues with impact metrics and affected sessions to identify and prioritize debugging tasks.
Instructions
Get errors and issues with their impact and affected sessions
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | No | Start date in ISO format | |
| endDate | No | End date in ISO format | |
| errorTypes | No | Filter by error types (js_exception, missing_resource, etc.) | |
| minOccurrences | No | Minimum number of occurrences | |
| groupBy | No | How to group errors |
Implementation Reference
- src/index.ts:439-449 (handler)The handler function that implements the core logic for the 'get_errors_issues' tool. Currently, it informs that JWT authentication is required.private async getErrorsIssues(args: any) { // Error analysis requires JWT authentication return { content: [ { type: "text", text: "Error analysis is not available via API key authentication. JWT authentication is required for this feature.", }, ], }; }
- src/index.ts:185-198 (schema)The input schema defining parameters for the 'get_errors_issues' tool, including date ranges, error types, occurrence thresholds, and grouping options.inputSchema: { type: "object", properties: { startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, errorTypes: { type: "array", items: { type: "string" }, description: "Filter by error types (js_exception, missing_resource, etc.)" }, minOccurrences: { type: "number", description: "Minimum number of occurrences" }, groupBy: { type: "string", enum: ["message", "stack", "url"], description: "How to group errors" } } }
- src/index.ts:182-199 (registration)The tool registration entry in the listTools response, including name, description, and input schema.{ name: "get_errors_issues", description: "Get errors and issues with their impact and affected sessions", inputSchema: { type: "object", properties: { startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, errorTypes: { type: "array", items: { type: "string" }, description: "Filter by error types (js_exception, missing_resource, etc.)" }, minOccurrences: { type: "number", description: "Minimum number of occurrences" }, groupBy: { type: "string", enum: ["message", "stack", "url"], description: "How to group errors" } } } },
- src/index.ts:288-289 (helper)The dispatcher case in the CallToolRequest handler that routes calls to the getErrorsIssues method.case "get_errors_issues": return await this.getErrorsIssues(args);