Explain a label in drift
explain_labelLists the file paths that differ across tags sharing one version label after drift is detected, so you can see what changed between the first and later tags.
Instructions
Use after check_versions reports drift: lists, for one label, the paths that differ between the first tag that used it and each other tag that did. For two references you choose, use compare. Returns exit 0, 1 or 2 and the JSON report. Exit 2 is not a pass: nothing was decided, and output says why (no label found, a file not read, a tag not compared). Read-only: it runs git reads only, on the local repository, with no network.
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": {
"repo": "<repo>",
"label": "<label>"
},
"name": "explain_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | path to a local git repository with its tags fetched | |
| label | Yes | a version label reported in drift, as written in the report (e.g. 1.0.0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exit | Yes | 0 clean, 1 drift, 2 not decided (the reason is in output) | |
| output | Yes | the JSON report (docs/REPORT.md), or the refusal as text | |
| meaning | Yes | the exit code in words |