git_checkout
Switch to a specified branch in a Git repository by providing the repo path and branch name. Enables efficient branch management and context switching for streamlined development workflows.
Instructions
Switches branches
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": {
"repo_path": "<repo_path>",
"branch_name": "<branch_name>"
},
"name": "git_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_name | Yes | ||
| repo_path | Yes |