git_log
Read recent commits from a local Git repository to review project history. Control result count, working directory, and one-line output.
Instructions
Read recent commits from the local repository.
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 |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| oneline | No | Use git log --oneline. | |
| maxCount | No | Maximum number of commits to return. |