bitbucket_commits
List commits, retrieve commit details, and compare changes between branches or commits in Bitbucket repositories to track code history and modifications.
Instructions
Manage Bitbucket commits and diffs. Actions:
list: List commits in a repository
get: Get details of a specific commit
get_diff: Get diff between two refs (e.g., "branch1..branch2" or "commit1..commit2")
get_diffstat: Get diffstat (summary of changes) between two refs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| workspace | Yes | Workspace slug | |
| repo_slug | Yes | Repository slug | |
| commit_hash | No | Commit hash (required for get action) | |
| revision | No | Branch name or commit hash to list commits from | |
| path | No | Filter commits by file path | |
| include | No | Include commits reachable from this ref | |
| exclude | No | Exclude commits reachable from this ref | |
| spec | No | Diff spec (e.g., "main..feature" or "abc123..def456") | |
| page | No | Page number for pagination | |
| pagelen | No | Results per page (max 100) | |
| format | No | Output format: json (full), toon (compact tokens), compact (essential fields only) |