get_commit
Retrieve details of a specific commit by its ID, with option to select custom fields using dot notation or request the full raw API response.
Instructions
Get details of a specific commit by its ID. Supports custom field selection via the fields param ('*all' for full raw response, 'id,message,author.name' for a custom subset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated fields to return (dot notation for nested paths). Omit for a curated default; use '*all' for the full raw API response. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| commitId | Yes | Full commit hash. | |
| repository | Yes | Repository slug. |