open_branch
Reopen a previously closed branch to restore access to its version history. Find closed branches by listing with the closed filter, then re-open the one you need.
Instructions
Re-open a previously closed branch. Find closed branches with list_branches({ closed: true }). Does not reload the editor. When NOT to use: to switch the editor onto the branch (use switch_branch).
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": {
"branchId": "<branchId>"
},
"name": "open_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchId | Yes | Id of the closed branch to re-open (from list_branches with closed:true) |