Git log
git_logRetrieve recent Git commits with bounded structured metadata to review changes, filter by ref or path, and limit history depth.
Instructions
Return recent git commits with bounded structured metadata.
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 |
|---|---|---|---|
| ref | No | HEAD | |
| path | No | . | |
| skip | No | ||
| max_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| commits | No | ||
| is_repo | No | ||
| warnings | No | ||
| truncated | No |