e2e_learnings
Query E2E run history to surface flaky tests, selector/page/API health, error patterns, and trends, helping teams diagnose failures and prioritize fixes.
Instructions
Query the E2E learning system for insights about test stability, flaky tests, selector health, page health, API health, error patterns, and trends. Builds knowledge across runs.
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": {
"query": "<query>"
},
"name": "e2e_learnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project root directory (defaults to the current working directory). | |
| days | No | Analysis window in days (default: 30) | |
| query | Yes | What to query: "summary" (full overview), "flaky" (flaky tests), "selectors" (selector stability), "pages" (page health), "apis" (API health), "errors" (error patterns), "trends" (7-day trend). Drill-down: "test:<name>", "page:<path>", "selector:<value>". |