Get Commits
bitbucket_get_commitsRetrieve commit history for a repository, listing commits in reverse chronological order. Filter by commit range or file path to find specific changes.
Instructions
Get commits for a repository.
Lists commits in reverse chronological order. Use since/until to specify
a commit range (like git log since..until). Use path to only show commits
that modified a specific file.
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": {
"project_key": "<project_key>",
"repository_slug": "<repository_slug>"
},
"name": "bitbucket_get_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter commits affecting this file path | |
| limit | No | Max results (1-100) | |
| since | No | Commit hash or ref — exclude commits reachable from this | |
| start | No | Pagination start index | |
| until | No | Commit hash or ref — include commits reachable from this (default: default branch HEAD) | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |