create_git_repo
Create a new Git repository in cPanel by providing a name and repository root path. Optionally clone from an existing remote repository via URL.
Instructions
Create a new Git repository in cPanel
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": {
"name": "<name>",
"repository_root": "<repository_root>"
},
"name": "create_git_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name | |
| repository_root | Yes | Path for the repository (e.g., /home/user/repositories/myrepo) | |
| source_repository | No | URL of remote repository to clone from |