clone_repository
Clone a Bitbucket repository using SSH or HTTPS, with optional branch and target directory specification.
Instructions
Clone a repository using SSH (default) or HTTPS
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": {
"repository": "<repository>"
},
"name": "clone_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Specific branch to clone | |
| protocol | No | Clone protocol | ssh |
| directory | No | Local directory to clone into | |
| repository | Yes | Repository slug (e.g. "my-repo") |