Run tests
run_testsExecute the project's test suite, auto-detect Vitest, Jest, pytest, or npm test, and return pass/fail counts with a run_id for failure summaries.
Instructions
Run the project's test suite (auto-detects vitest, jest, pytest, or npm test; in remote mode only the server's fixed, configured command runs). Returns pass/fail counts and a run_id; pass the run_id to summarize_test_failures for grouped failures and the source files to fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Remote mode only: which allowlisted repo ("owner/repo") to operate on. Optional when only one repo is allowlisted; ignored in local mode. | |
| filter | No | Optional test name or file pattern, e.g. "pricing" or "src/pricing.test.ts". Letters, digits, _ - . / and spaces only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | Yes | ||
| passed | Yes | ||
| run_id | Yes | ||
| runner | Yes | ||
| command | Yes | ||
| skipped | Yes | ||
| exit_code | Yes | ||
| timed_out | Yes | ||
| workspace | Yes | ||
| duration_ms | Yes | ||
| output_tail | Yes | ||
| structured_report | Yes |