forkRepository
Create a fork of a Bitbucket Data Center repository in a specified target project or your personal project, with an optional custom fork name.
Instructions
Fork a repository
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": {
"repoSlug": "<repoSlug>"
},
"name": "forkRepository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Fork name | |
| repoSlug | Yes | ||
| projectKey | No | ||
| targetProjectKey | No | Default: your personal project |