repo_list_branches
List branches in a repository within a workspace to view available branches for pull request operations.
Instructions
List branches in the 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": {
"workspace_id": "<workspace_id>"
},
"name": "repo_list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| remote | No | origin | |
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||