list_commits
Retrieves commit history for a repository, allowing filtering by branch, author, date range, and maximum commits.
Instructions
Get commit history for a repository
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": {
"repository": "<repository>"
},
"name": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name | |
| repository | Yes | Repository name or ID | |
| branch | No | Branch name (e.g., "refs/heads/main") | |
| author | No | Filter by author email | |
| fromDate | No | Start date (ISO format) | |
| toDate | No | End date (ISO format) | |
| top | No | Max commits to return |