git_create_branch_tool
Create a new Git branch, optionally from a specific base branch, to structure your development workflow.
Instructions
Creates a new branch from an optional base 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": {
"repo_path": "<repo_path>",
"branch_name": "<branch_name>"
},
"name": "git_create_branch_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the Git repository | |
| branch_name | Yes | Name of the new branch | |
| base_branch | No | Branch to base the new one off. Defaults to the current branch |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |