bitbucket_get_commits
Retrieve commit history for a Bitbucket repository branch. Specify workspace, repository, and optional refs to filter commits by range, with a configurable limit.
Instructions
Get commit history for a repository branch.
Args: workspace: Workspace name or project key. repository: Repository name. until: The commit ID or ref (inclusively) to retrieve commits before limit: Maximum number of commits to return (default: 25). since: The commit ID or ref (inclusively) to retrieve commits after
Returns: JSON string containing commit history.
Raises: ValueError: If the Bitbucket client is not configured or available.
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>"
},
"name": "bitbucket_get_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of commits to return | |
| since | No | The commit ID or ref (inclusively) to retrieve commits after | |
| until | No | The commit ID or ref (inclusively) to retrieve commits before | |
| workspace | Yes | Workspace name (Cloud) or project key (Server/DC) | |
| repository | Yes | Repository name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |