clone_git_repository
Clone a Git repository into a RunCloud web application from GitHub, GitLab, Bitbucket, or a custom provider, with branch selection, deploy keys for private repos, and optional auto-deployment.
Instructions
Clone a git repository 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>",
"provider": "<provider>",
"repository": "<repository>",
"branch": "<branch>"
},
"name": "clone_git_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name | |
| provider | Yes | Git provider (github, gitlab, bitbucket, custom) | |
| serverId | Yes | The ID of the server | |
| webappId | Yes | The ID of the web application | |
| deployKey | No | Deploy key for private repositories | |
| autoDeploy | No | Enable auto-deployment | |
| repository | Yes | Repository URL or path |