emacs_git_branch_checkout
Checkout a Git branch in Emacs, creating it if it does not exist.
Instructions
Checkout a 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": {
"branch": "<branch>"
},
"name": "emacs_git_branch_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to checkout | |
| create | No | Create the branch if it does not exist |