change_git_branch
Switch the Git branch deployed by a RunCloud web application by specifying the server, application, repository, and new branch. Use it to update which branch an app tracks.
Instructions
Change git branch for a web application
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": {
"serverId": "<serverId>",
"webappId": "<webappId>",
"gitId": "<gitId>",
"branch": "<branch>"
},
"name": "change_git_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gitId | Yes | The ID of the git repository | |
| branch | Yes | New branch name | |
| serverId | Yes | The ID of the server | |
| webappId | Yes | The ID of the web application |