create_tag
Create a Git tag on a specific commit or branch HEAD in a GitFlic project. Provide a commit hash or branch name; include a message for an annotated tag.
Instructions
Create a new Git tag in a GitFlic project. Provide either commitId (specific commit hash) or branchName (tags the branch HEAD) — at least one is required. Include a message to create an annotated tag; omit it for a lightweight tag.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"project": "<project>",
"tagName": "<tagName>"
},
"name": "create_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| message | No | Tag message (annotated tag) | |
| project | Yes | Project alias | |
| tagName | Yes | Tag name | |
| commitId | No | Commit hash to tag (provide commitId or branchName) | |
| branchName | No | Branch name to tag its HEAD (provide commitId or branchName) |