Git log
git_logShow recent Git commits for a repository path, optionally limiting results to inspect history; the count is capped at 100.
Instructions
Show recent git commits. max_count is capped at 100.
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": {
"path": "<path>"
},
"name": "git_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| commits | Yes |