run_tests
Run pytest in a repository to verify changes or investigate test failures. Returns pass/fail status, summary, and failing test list using a fixed, safe command.
Instructions
Runs pytest in a repository using a fixed, MCPilot-chosen command (never an LLM-supplied command). Returns pass/fail status, summary, and list of failing tests. The repo path must be within allowed roots.
Use this when investigating test failures or verifying that changes haven't broken tests. Does not modify system state (runs read-only tests).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |