get_commit_detail
Retrieve a commit's unified diff or changed-file list from a Bitbucket repository, with options to filter by file and adjust context lines.
Instructions
Get a commit diff as raw unified diff text, or detail:"files" for just the changed-file list (no diff bodies).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Default diff | |
| commit_id | Yes | Commit SHA | |
| file_path | No | Diff one file only | |
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | Yes | Repository slug | |
| context_lines | No | Default 3 | |
| exclude_patterns | No | ||
| include_patterns | No |