branch_switch
Switch the active branch, including main or task-scoped branches, by passing a sessionId or taskId to keep work organized within a project.
Instructions
Switch to another branch (e.g. main). Pass sessionId/taskId for task-scoped branching.
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": "branch_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | ||
| branchId | No | ||
| sessionId | No |