get_branch
Retrieve detailed information about a specific branch, including its latest commit. Optionally specify repository and workspace.
Instructions
Get detailed information about a specific branch.
Use this tool when you need complete details about a branch, including its latest commit information.
Args: branch_name: Name of the branch to get details for. repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object with branch details including commit information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| repository | No | ||
| branch_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |