get_branch_commits
Retrieve commit history and details for a specific branch in a Bitbucket repository, with pagination to navigate large logs.
Instructions
Get commit history and details for a specific 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>",
"branch": "<branch>"
},
"name": "get_branch_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| branch | Yes | Branch name (e.g. "main") | |
| pagelen | No | Items per page (max 100) | |
| repository | Yes | Repository slug (e.g. "my-repo") |