show_results
Display mutation testing results from the last mutmut run to analyze code changes and improve test coverage in Python projects.
Instructions
Display overall results from the last mutmut run using the mutmut CLI. Returns the plain text output.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venv_path | No |
Implementation Reference
- mutmut_mcp.py:93-98 (handler)The 'show_results' function is the tool handler that executes 'mutmut results' to display mutation testing results.
def show_results(venv_path: Optional[str] = None) -> str: """ Display overall results from the last mutmut run using the mutmut CLI. Returns the plain text output. """ return _run_mutmut_cli(["results"], venv_path) - mutmut_mcp.py:183-183 (registration)Registration of the 'show_results' tool with the FastMCP instance.
mcp.tool()(show_results)