create_branch
Create a new branch in a GitHub repository from a source branch.
Instructions
Create a new branch in a repository from a source branch
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": {
"owner": "<owner>",
"repo": "<repo>",
"branch": "<branch>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| branch | Yes | New branch name | |
| from_branch | No | Source branch to branch from (default: main) | main |