AgentSkillsCN

Errors List

错误列表

SKILL.md

Errors List

List individual error events from Cloud Error Reporting.

Purpose

Retrieve detailed error events, including stack traces and service context, for deep-dive analysis.

Inputs

  • project (optional): The Google Cloud project ID to list errors from.
  • group_id (required): The ID of the error group to list events for.
  • service (optional): Filter by service name.
  • limit (optional): Maximum number of events to return. Defaults to 20.
  • time_range (optional): The time range for which to list error events. Examples: 1h, 1d, 30d.

Behavior

  1. Execute gcloud beta error-reporting events list --project=[PROJECT] --group-id=[GROUP_ID] --service=[SERVICE] --limit=[LIMIT] --time-range=[TIME_RANGE] --format=json.
  2. If project is not provided, use the active project from gcp-context.

Output

Returns a JSON list of error events.

References