update_repository
Update repository settings in BitBucket, such as description and visibility. Only specify the parameters you want to change.
Instructions
Update repository settings in BitBucket.
Use this tool to modify repository metadata such as description or visibility. Only provide the parameters you want to change.
Args: repository: Repository slug to update. description: New description for the repository. is_private: Whether the repository should be private. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object with the updated repository details.
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": "update_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| is_private | No | ||
| repository | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |