git_create_branch
Create a new git branch and switch to it, with optional base branch specification, to isolate work for features or fixes.
Instructions
Create a new branch and switch to it.
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": {
"name": "<name>"
},
"name": "git_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new branch name. | |
| from_branch | No | Base branch to branch from. Defaults to HEAD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||