github_repos_rename_branch
Rename a branch in a GitHub repository by specifying the owner, repo, and branch name. Provide the new name in the request body.
Instructions
Rename a 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": "github_repos_rename_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| branch | Yes | branch |