e2e_issue
Fetches a GitHub or GitLab issue and prepares E2E test generation, returning issue details with a test-creation prompt or automatically generating and running tests in verify mode.
Instructions
Fetch a GitHub/GitLab issue and prepare E2E test generation. Returns issue details and a prompt for test creation. Use mode "verify" to auto-generate and run tests (requires ANTHROPIC_API_KEY).
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": {
"url": "<url>"
},
"name": "e2e_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project root directory (defaults to the current working directory). | |
| url | Yes | Issue URL (GitHub or GitLab) | |
| mode | No | prompt = return issue + prompt for Claude Code to create tests (default). verify = auto-generate tests via Claude API and run them. | |
| testType | No | Test category: 'e2e' (default) for UI-driven tests, 'api' for backend API tests | |
| authToken | No | JWT or auth token to inject into localStorage before running tests (for authenticated apps) | |
| authStorageKey | No | localStorage key name for the auth token (default: "accessToken") |