list_commits
List commits in a Bitbucket repository, optionally filtered by branch and/or author. Use this to review commit history, find specific changes, track contributions, or understand the evolution of a branch.
Instructions
List commits in a Bitbucket repository, optionally filtered by branch and/or author. Use this to review commit history, find specific changes, track contributions, or understand the evolution of a branch.
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 |
|---|---|---|---|
| limit | No | Number of commits to return (default: 25, max: 1000). | |
| start | No | Start index for pagination (default: 0). | |
| author | No | Filter commits by author name or email (case-insensitive partial match, applied client-side). | |
| branch | No | Branch name to list commits from (e.g., "main", "develop", "feature/xyz"). If omitted, lists commits from the default branch. | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| repository | Yes | Repository slug to list commits from. |