Resolve local Git review input
resolve_git_review_inputConverts two locally available Git refs into immutable commits and diff metadata for QA review, failing if either ref cannot resolve or the diff is empty.
Instructions
Resolve two locally available Git refs into immutable commits and diff metadata.
The repository path is on the server host. This compares the resolved commits directly; choose the merge base explicitly when a merge-base comparison is required. It does not fetch refs, inspect uncommitted changes, or construct the evidence packet. Unresolvable refs fail; both refs must resolve to different commits with a nonempty diff.
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>",
"base": "<base>",
"head": "<head>"
},
"name": "resolve_git_review_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Locally available base Git ref or commit. | |
| head | Yes | Locally available head Git ref or commit. | |
| repository | Yes | Absolute path to the local Git repository on the server host. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||