get_branch
Retrieve branch details from a Codeup repository, including name and existence, using organization, repository, and branch identifiers.
Instructions
[Code Management] Get information about a branch in a Codeup repository
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"repositoryId": "<repositoryId>",
"branchName": "<branchName>"
},
"name": "get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchName | Yes | Branch name (if it contains special characters, use URL encoding), example: master or feature%2Fdev | |
| repositoryId | Yes | Repository ID, or org/repo path with slashes URL-encoded as %2F. e.g. 2835387 or myorg%2Fmyrepo | |
| organizationId | Yes | Organization ID |