run_tests
Run the repository's test suite or a targeted pytest selector to return a pass/fail summary and truncated failure output; reproduce bugs before edits and verify fixes after changes.
Instructions
Run the repository's test suite (or a subset) and return a pass/fail summary plus the failure output, truncated. selector is passed to pytest, e.g. 'tests/test_x.py::test_name' or '-k median'. Run this to reproduce the bug first and again after every edit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |