clear_manual_coverage
Reset the accumulated manual-recording dimension for a branch.
Manual uploads are additive: each upload_local_coverage with
coverage_kind="manual" unions that hand-driven session into the
branch's manual dimension, so you can build a pass up one flow at a
time. Call this to wipe that accumulation and start over — every
function goes back to Unexercised. The branch's manual_languages are
kept, so the Manual Recording view stays visible; only the per-function
coverage is cleared.
This does not touch browser coverage (coverage_kind="browser"),
which has no clear at all: every producer there replaces its own
contribution on its next run, so nothing accumulates to be reset.
repository is the GitHub 'owner/repo' (a repo UUID also works);
branch defaults to the repository's default branch. Errors when the
branch has no local analysis to clear. Returns cleared_functions —
the number of function rows reset.
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": {
"repository": "<repository>"
},
"name": "clear_manual_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| repository | Yes |