fork_repository
Create a copy of a repository in a specified target project. Provide source repository slug and optionally set target project key.
Instructions
Fork a repository into a target project. Creates a copy of the source repository in the specified target project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the forked repository. Defaults to the source repository name. | |
| project | No | Source project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| repository | Yes | Source repository slug. | |
| target_project | No | Target project key where the fork will be created. Defaults to the user's personal project. |