create_branch
Create a new branch in a GitHub repository using specified parameters such as owner, repo, and branch name, with an optional source branch.
Instructions
Create a new branch in a GitHub repository.
Args:
params: Dictionary with branch parameters
- owner: Repository owner (username or organization)
- repo: Repository name
- branch: Name for new branch
- from_branch: Source branch (optional, defaults to repo default)
Returns:
MCP response with branch creation result
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"properties": {
"params": {
"title": "Params",
"type": "object"
}
},
"required": [
"params"
],
"title": "create_branchArguments",
"type": "object"
}