get_commit_details
Retrieve commit details by commit ID or hash. Get hash, message, author, date, tags, and associated builds with status and artifacts.
Instructions
Get a single commit by commit ID (UUID) or by commit hash (git SHA).
Returns the commit with the given identifier, including hash, message, author, email, commit date, tags, and associated builds (with status, failed step, duration, artifacts, etc.). Provide either commit_id or commit_hash, not both.
Args: commit_id: The commit ID (UUID). Use when you have the commit's unique ID. commit_hash: The commit hash (git SHA, e.g. 40-char hex). Use when you have the repository commit hash.
Returns: Standard envelope (see docs/tool_contract.md): - Success: success (true), data (commit object with id, organizationId, profileId, branchId, hash, message, author, email, commitDate, tags, builds, targetBranchId, pullNumber, commitStatus, description, etc.), meta (empty). - Error: success (false), error (tool, type, message, details).
Examples: Get by commit ID: get_commit_details(commit_id="f4e4d8f9-ae28-4e82-a7bd-5e02338c2260") Get by commit hash: get_commit_details(commit_hash="15d2bb0bac20cd8a564d4dbdf7bf2948321f7908")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_id | No | ||
| commit_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |