coverage_summary
Run Python tests under coverage and get per-file coverage percent plus uncovered line ranges, so agents can pinpoint gaps. Reports a default set or specified files; uses a temp dir.
Instructions
Run the Python tests under coverage.py and report per-file percent and the uncovered
line ranges (e.g. "12-15, 20"). Needs coverage installed in the project's interpreter
(the error says which). Data goes to a temp dir; nothing is written into the project.
files: optional list of paths or globs relative to the project (src/app.py, src/*.py) to report; default is the 30 least-covered project files plus the total percent. selector: run only part of the suite. Python projects only.
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": "coverage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| files | No | ||
| python | No | ||
| runner | No | ||
| timeout | No | ||
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||