get_tag
Retrieve details of a specific tag from a Bitbucket Server repository, with custom field selection.
Instructions
Get details of a specific tag by its name. Supports custom field selection via the fields param ('*all' for full raw response, 'id,displayId,hash' for a custom subset).
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": "<name>"
},
"name": "get_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name (e.g. 'v1.0.0'). | |
| fields | No | Comma-separated fields to return (dot notation for nested paths). Omit for a curated default; use '*all' for the full raw API response. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| repository | Yes | Repository slug. |