git_create_branch
Create and checkout a git branch with explicit naming or auto-naming from issue number and description. Optionally set the base branch and pull latest changes.
Instructions
Create and checkout a git branch.
Naming: branch_name (explicit) OR issue_number/description (auto: issue-N-desc or feature-desc). Options: from_branch (default: HEAD or main if auto-naming), pull_latest (default: False).
Returns: {branch_name, previous_branch, sha, based_on}
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": "git_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_name | No | ||
| issue_number | No | ||
| description | No | ||
| from_branch | No | ||
| pull_latest | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||