File size: 1,455 Bytes
cf3884b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"name": "get_runtime_errors",
"description": "Get grouped runtime error clusters for a project (error name, occurrence count, affected routes, sample messages, first/last seen). Use this first to answer \"why is production erroring\" — it reads a pre-aggregated table and does not time out. Max 7-day range.",
"inputSchema": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "The project ID to get runtime errors for."
},
"teamId": {
"type": "string",
"description": "The team ID to get the deployment events for. Alternatively the team slug can be used.\nTeam IDs start with \"team_\".\nIf you do not know the team ID or slug, it can be found through these mechanism:\n- Read the file .vercel/project.json if it exists and extract the orgId\n- Use the `list_teams` tool"
},
"since": {
"type": "string",
"description": "Start time - ISO date or relative (e.g. \"1h\", \"7d\"). Defaults to 24h ago."
},
"until": {
"type": "string",
"description": "End time - ISO date or relative."
},
"routes": {
"type": "string",
"description": "Comma-separated route paths to filter by (e.g. \"/api/checkout\")."
}
},
"required": [
"projectId",
"teamId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
} |