git_log
Retrieve the last N commits for a repository as structured data, including SHA, author, date, and message.
Instructions
Return the last N commits for a repository as structured data (sha, author, date, message).
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": {
"repo": "<repo>"
},
"name": "git_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of commits to return (1–100) | |
| ref | No | Branch, tag, or SHA to start from (default: HEAD) | HEAD |
| repo | Yes | Repository name from list_repositories(), e.g. "pypto" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||