getGitLog
Retrieve recent git log entries for the entire workspace or a specific file. Filter by file path and limit the number of entries.
Instructions
Get recent git log entries for the workspace or a specific file
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": "getGitLog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Filter log to a single file (absolute or workspace-relative) | |
| maxEntries | No | Max log entries to return (default: 20, max: 100) |