get_file_history
Lists a file's commit history at a branch, tag, or commit without cloning, returning paths and commit hashes across renames.
Instructions
List a file's history at a branch, tag or commit without cloning.
Returns paths and full commit hashes, preserving paths reported by Bitbucket
across renames. Use get_commit for author, message and date; Bitbucket omits
those from filehistory. Follow next_cursor until has_more is false.
cursor keeps its issued page size; limit only applies to the first page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | main | |
| path | Yes | ||
| limit | No | ||
| cursor | No | ||
| repo_slug | Yes |