git_log
Retrieve recent Git commit history, including hash, author, date, and message, for a specified repository. Ideal for investigating changes and identifying authors.
Instructions
Returns the most recent Git log entries: commit hash, author, date, and
message. Limited to max_entries (max 100). The repo path must be within
allowed roots.
Use this when investigating recent commits, looking for when a change was
made, or identifying who made modifications. Does not modify system state.
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>"
},
"name": "git_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |