Commit details
commit_detailsInspect a single Git commit for message, author/committer dates, parents, changed files with status, rename paths, line totals, and containing branches/tags.
Instructions
Inspect one commit: full message, author and committer with dates, parents (merge detection), every file changed with status (A/M/D/R/C/T), old path for renames and +/- lines, totals, and the branches and tags that contain it (plus the first tag that includes it). Merges are diffed against their first parent.
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_path": "<repo_path>",
"ref": "<ref>"
},
"name": "commit_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Commit to inspect: full or abbreviated hash, branch, tag, or an expression such as 'HEAD~2'. | |
| repo_path | Yes | Absolute path to a local git repository, or to any folder inside one (a sub-folder scopes the analysis to it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||