gograph_uncovered
Identify changed non-test Go lines missing from a go test -coverprofile run and return exact uncovered ranges per file; changed files without coverage data are listed separately.
Instructions
Changed lines of non-test Go files that a go test -coverprofile run never executed, as exact line ranges per file (gograph.uncovered.v1). Lines outside coverage blocks are never reported; changed files without profile data are listed separately. WHEN TO USE: After running tests with -coverprofile, to see which lines of your change no test executed. RETURNS: files with uncovered ranges, changed and uncovered line counts.
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": {
"coverprofile": "<coverprofile>"
},
"name": "gograph_uncovered"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| since | No | Git ref: compare the working tree with this ref | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. | |
| uncommitted | No | Compare the working tree with HEAD, including untracked files | |
| coverprofile | Yes | Repository-relative go test -coverprofile file |