create_branch
Create a git branch with an isolated worktree for safe feature development without affecting the main codebase.
Instructions
Create a git branch with an isolated worktree
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": "<repo>",
"branch_name": "<branch_name>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository directory name under the workspace root | |
| branch_name | Yes | Name of the git branch to create |