Get a release
get_releaseRetrieve a release by git tag (owner/repo/tag) to get its notes, commit target, and asset count/names; check it before creating a release to make release scripts idempotent.
Instructions
Get one release by its git tag (owner/repo/tag). Returns the release's identity, notes (body), target_commitish, and its asset_count and asset_names; list_release_assets has each asset's id, size and URL. Use this before create_release to make a release script idempotent: the tag is known up front, the release id only after creation.
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": "<tag>"
},
"name": "get_release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | The git tag the release is attached to, e.g. `v1.2.0`. | |
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner. |