list_commits
Retrieve commit history for a Bitbucket repository, with optional filters for branch, tag, commit, path, and pagination.
Instructions
List commits for a repository, optionally filtered by branch/tag/commit.
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": {
"projectKey": "<projectKey>",
"repositorySlug": "<repositorySlug>"
},
"name": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter commits affecting this file path | |
| limit | No | Maximum number of commits to return | |
| since | No | Commit hash, branch, or tag to list commits since | |
| start | No | Starting index for pagination | |
| until | No | Commit hash, branch, or tag to list commits until | |
| projectKey | Yes | The Bitbucket project key | |
| repositorySlug | Yes | The repository slug |