Push feature branch
github_push_feature_branchPush a non-protected feature branch and set its upstream tracking. Refuses to push to main or master branches.
Instructions
Push a non-protected feature branch and set upstream. Refuses main/master.
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>"
},
"name": "github_push_feature_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Git remote name. Defaults to origin. | |
| repoPath | Yes | Path to a local repository inside the configured allowed roots. | |
| branchName | No | Branch to push. Defaults to the current branch. |