git_create_tag
Create a Git tag in a local repository, specifying the tag name, message, and type (annotated or lightweight) using the Git Repo Browser MCP tool.
Instructions
Create a tag.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
annotated | No | Whether to create an annotated tag | |
message | No | Tag message (for annotated tags) | |
repo_path | Yes | The path to the local Git repository | |
tag_name | Yes | Name of the tag |
Input Schema (JSON Schema)
{
"properties": {
"annotated": {
"default": true,
"description": "Whether to create an annotated tag",
"type": "boolean"
},
"message": {
"default": "",
"description": "Tag message (for annotated tags)",
"type": "string"
},
"repo_path": {
"description": "The path to the local Git repository",
"type": "string"
},
"tag_name": {
"description": "Name of the tag",
"type": "string"
}
},
"required": [
"repo_path",
"tag_name"
],
"type": "object"
}