create_tag
Create a new tag in a Bitbucket repository by specifying the repository slug, tag name, and target commit hash to mark specific code versions.
Instructions
Create a new tag in a repository.
Args: repo_slug: Repository slug (name) name: Name for the new tag target: Commit hash to tag workspace: Bitbucket workspace (optional if configured)
Returns: Created tag details or error message
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": {
"repo_slug": "<repo_slug>",
"name": "<name>",
"target": "<target>"
},
"name": "create_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| name | Yes | ||
| target | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||