list_commits
List recent commits in a Bitbucket repository, optionally filtered by branch, to retrieve commit messages, authors, dates, and hashes.
Instructions
List recent commits in a repository, optionally filtered by branch. Returns commit messages, authors, dates, and hashes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | The branch name or commit hash to list commits from. Defaults to the main branch. | |
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |