get_coverage
Retrieve coverage data from a test run using its run ID, optionally filtered to specific file paths, to pinpoint untested code after tests execute.
Instructions
Get coverage data from a previous test run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"runId": "<runId>"
},
"name": "get_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Filter coverage to specific file paths | |
| runId | Yes | The run ID from a test run with coverage enabled |