get_tag
Retrieve annotated tag details from GitHub repositories using the tag's SHA to access metadata and commit information.
Instructions
Get an annotated tag object by its SHA. Only works for annotated tags, not lightweight tags.
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>",
"repo": "<repo>",
"tag_sha": "<tag_sha>"
},
"name": "get_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| tag_sha | Yes | Tag object SHA |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |