list_commits
Retrieve commits from a Bitbucket repository to inspect change history; optionally filter by branch and paginate results for targeted review.
Instructions
List commits in 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": {
"repo_slug": "<repo_slug>"
},
"name": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| branch | No | Branch name (optional, defaults to main branch) | |
| repo_slug | Yes | Repository slug (name) |