branch_list
Lists repository branches with sha, default/protected flags and the task key from each name (taskKey); search filters by a name substring. With taskID, only that task's live branches are listed, plus suggestedName - the live branch or the server-convention name for a new one (a task has one live branch). Creates nothing.
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": {
"repositoryID": "<repositoryID>"
},
"name": "branch_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Branch name substring. | |
| taskID | No | Only this task's live branches, plus suggestedName. | |
| repositoryID | Yes | Repository ID. |