git-tags
Manage Git tags with create, list, get, delete, and search operations for both lightweight and annotated tags in your repository.
Instructions
Git tag management tool for tag operations. Supports create, list, get, delete, and search operations for both lightweight and annotated tags.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | The tag operation to perform | |
annotated | No | Create annotated tag (for create action) | |
commit | No | Specific commit to tag (default: HEAD, for create action) | |
force | No | Force operation (for create, delete actions) | |
lightweight | No | Create lightweight tag (for create action) | |
message | No | Tag message for annotated tags (for create action) | |
owner | No | Repository owner (for remote operations) | |
pattern | No | Pattern to filter tags (for list, search actions) | |
projectPath | Yes | Absolute path to the project directory | |
provider | No | Provider for remote operations (optional) | |
query | No | Search query for tags (for search action) | |
remote | No | Remote name for remote tag operations (default: origin) | |
repo | No | Repository name (for remote operations) | |
tagName | No | Name of the tag (required for create, get, delete) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "The tag operation to perform",
"enum": [
"create",
"list",
"get",
"delete",
"search"
],
"type": "string"
},
"annotated": {
"description": "Create annotated tag (for create action)",
"type": "boolean"
},
"commit": {
"description": "Specific commit to tag (default: HEAD, for create action)",
"type": "string"
},
"force": {
"description": "Force operation (for create, delete actions)",
"type": "boolean"
},
"lightweight": {
"description": "Create lightweight tag (for create action)",
"type": "boolean"
},
"message": {
"description": "Tag message for annotated tags (for create action)",
"type": "string"
},
"owner": {
"description": "Repository owner (for remote operations)",
"type": "string"
},
"pattern": {
"description": "Pattern to filter tags (for list, search actions)",
"type": "string"
},
"projectPath": {
"description": "Absolute path to the project directory",
"type": "string"
},
"provider": {
"description": "Provider for remote operations (optional)",
"enum": [
"github",
"gitea",
"both"
],
"type": "string"
},
"query": {
"description": "Search query for tags (for search action)",
"type": "string"
},
"remote": {
"description": "Remote name for remote tag operations (default: origin)",
"type": "string"
},
"repo": {
"description": "Repository name (for remote operations)",
"type": "string"
},
"tagName": {
"description": "Name of the tag (required for create, get, delete)",
"type": "string"
}
},
"required": [
"action",
"projectPath"
],
"type": "object"
}