Create feature branch
github_create_feature_branchCreate a new feature branch from a base branch after validating safety constraints to prevent collisions and ensure branch integrity.
Instructions
Create a new feature branch from the base branch after validating safety constraints.
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": {
"repoPath": "<repoPath>",
"branchName": "<branchName>"
},
"name": "github_create_feature_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Git remote name used to check remote branch collisions. Defaults to origin. | |
| repoPath | Yes | Path to a local repository inside the configured allowed roots. | |
| baseBranch | No | Base branch to branch from. Defaults to main. | |
| branchName | Yes | New feature branch name, such as feature/my-change. |