git_log
Reads repository commit history—full SHA, author, ISO date, and subject—with optional path filters and commit limits for auditing or tracing changes.
Instructions
Read full commit SHA, author, ISO-strict date and subject separated by tabs. No approval window; client Host in both modes. Fixed Git never runs repository hooks/filters or configured programs. Maximum 2 processes, 15 seconds each, 64 KiB output. Sanitized errors; never auto-retry.
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 | Absolute repository directory within configured read roots, including read: folders; top must also be allowed. | |
| limit | No | Number of commits, integer 1..200; default 20. Output over 64 KiB fails closed. | |
| paths | No | Optional maximum 32 literal relative paths inside repository and read roots; no traversal, options, colon, NUL or newline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||