git_log
View commit history of a Git repository. Customize output with limit and oneline format.
Instructions
Show commit history.
USAGE: Call this tool to view the commit history of the repository.
Examples: {} - Show last 10 commits with full details {"limit": 5} - Show last 5 commits {"limit": 20, "oneline": true} - Show last 20 commits in oneline format
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of commits to show (1-100), default 10 | |
| oneline | No | Show commits in oneline format, default false |