List branches
list_branchesList branches, with the project they belong to on every row: { branches: [{ branchId, name, isMain, status, projectId, projectName, workspaceName?, devDeploymentId?, parentBranchId? }] }. parentBranchId is the branch frames are inherited from (copy-on-write). projectId is optional — omit it to span every project you can read. This is the one discovery call for picking a branch; there is no separate project-listing tool. Scope: project:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max branches to return. Default 50. | |
| projectId | No | Narrow to one project. Omit to list branches across every project you can read — every row carries `projectId`, `projectName` and `workspaceName`, so picking a branch never needs a separate project lookup. |