create_repository
Create a new Bitbucket repository with custom name, description, privacy settings, and optional project assignment.
Instructions
Create a new repository in BitBucket.
Use this tool when the user wants to create a new repository. The repository will be created in the specified workspace with the given settings.
Args: name: Name of the new repository. Will also be used as the slug. description: Optional description of the repository. is_private: Whether the repository should be private (default: True). project_key: Optional project key to associate the repository with a project. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object with the created repository details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspace | No | ||
| is_private | No | ||
| description | No | ||
| project_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |