list_branch_commits
Retrieve commits from a Bitbucket branch with filtering by author, message, and date range. Supports pagination, merge commit inclusion, and server-side or client-side filters.
Instructions
List commits on a branch. since (as a rev) and include_merge_commits filter server-side; author/until/search and date-valued since filter client-side over a bounded page walk (noted when more pages exist).
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": {
"workspace": "<workspace>",
"repository": "<repository>",
"branch_name": "<branch_name>"
},
"name": "list_branch_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 25) | |
| since | No | ISO date lower bound, or a commit SHA/ref (exclusive) for a server-side range | |
| start | No | Pagination start (default 0) | |
| until | No | ISO date upper bound | |
| author | No | ||
| search | No | Substring in commit message | |
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | Yes | Repository slug | |
| branch_name | Yes | ||
| include_build_status | No | Server only | |
| include_merge_commits | No | Default true |