Protect tag
gitlab_protect_tagProtects a GitLab project tag from modification or deletion to keep release and version references stable.
Instructions
Protect a tag in a project.
Args: **kwargs: Additional parameters for the request (e.g., project_id, name).
Returns: Response: A wrapper containing the original response and a Tag model.
Raises: MissingParameterError: If the project_id or name is missing. ParameterError: If invalid parameters are provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_protect_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| tag | No | ||
| page | No | ||
| message | No | ||
| per_page | No | ||
| max_pages | No | ||
| project_id | No |