Getprojectsprojectidbranchesbranchid
getProjectsProjectIdBranchesBranchIdRetrieve a project branch by project and branch ID, including automatic resolution of refs/users/self to the calling user's branch in the All-Users repository.
Instructions
Retrieves a branch of a project. For the "All-Users" repository, the magic branch "refs/users/self" is automatically resolved to the user branch of the calling user.
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": {
"project-id": "<project-id>",
"branch-id": "<branch-id>"
},
"name": "getProjectsProjectIdBranchesBranchId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch-id | Yes | ||
| project-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||