create_tag
Create a new tag in a Bitbucket repository to mark specific commits or branches with version labels like v1.0.0, supporting optional annotated tag messages.
Instructions
Create a new tag in a repository.
Args:
repo_slug: Repository slug
name: Tag name (e.g., "v1.0.0")
target: Commit hash or branch name to tag
message: Optional tag message (for annotated tags)
Returns:
Created tag info
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 |
|---|---|---|---|
| name | Yes | ||
| target | Yes | ||
| message | No | ||
| repo_slug | Yes |