tag_create
Create and manage Git tags with a specified name, message, and options like force creation, annotation, or signing. Supports repository path input for precise tag management.
Instructions
Create a tag
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annotated | No | Create an annotated tag | |
| force | No | Force create tag even if it exists | |
| message | No | Tag message | |
| name | Yes | Tag name | |
| path | No | Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo) | |
| sign | No | Create a signed tag |
Input Schema (JSON Schema)
{
"properties": {
"annotated": {
"default": true,
"description": "Create an annotated tag",
"type": "boolean"
},
"force": {
"default": false,
"description": "Force create tag even if it exists",
"type": "boolean"
},
"message": {
"description": "Tag message",
"type": "string"
},
"name": {
"description": "Tag name",
"type": "string"
},
"path": {
"description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)",
"type": "string"
},
"sign": {
"default": false,
"description": "Create a signed tag",
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
}