git_tag
List, create, or delete git tags to mark release points in history, making commits easy to reference later.
Instructions
Manage tags: list them, create a new one, or delete one. Use this to mark release points in history so commits are easy to reference later, or to list existing releases. Does NOT branch or switch — tags are lightweight markers: use git_branch for branches and git_checkout to switch to a tag. Best for: marking release points in history. Returns: tag names for list, or confirmation for create/delete; delete requires confirmed=True; annotated=True needs a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Tag message | |
| tag_name | No | Tag name | |
| annotated | No | Create an annotated tag | |
| confirmed | No | Explicit confirmation for tag deletion | |
| operation | No | One of: list, create, delete | list |
| repo_path | No | Path to the git repository, defaults to '.' (the server working directory) | . |