get_session_commits
Retrieve all git operations—commits, pushes, merges, checkouts—from a session chronologically. Connect session work to git history to capture actions git log misses.
Instructions
Get all git operations (commits, pushes, merges, checkouts, etc.) from a session, chronologically. Links session work to git history — the in-between that git log doesn't capture.
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": {
"session_id": "<session_id>"
},
"name": "get_session_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results | |
| max_chars | No | Max output characters | |
| session_id | Yes | Session ID (prefix match) | |
| operation_type | No | Filter: commit, push, pull, checkout, merge, etc. |