delete_repository
Permanently remove a Bitbucket repository. Requires confirmation to avoid accidental loss.
Instructions
Delete a repository from BitBucket.
WARNING: This is a destructive operation that cannot be undone. The confirm parameter MUST be set to true to proceed with deletion.
Use this tool only when the user explicitly requests to delete a repository and has confirmed the deletion.
Args: repository: Repository slug to delete. confirm: Must be True to proceed with deletion. This is a safety measure. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: Confirmation message or error if confirm is not True.
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>",
"confirm": "<confirm>"
},
"name": "delete_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| workspace | No | ||
| repository | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |