Home / Servers / GitHub API / repos_update_release
Update a release
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Update a release Users with push access to the repository can edit a release. > [!NOTE] > If the resolved target commit (the new value of target_commitish if you are changing it, otherwise the existing target) adds… [PATCH /repos/{owner}/{repo}/releases/{release_id}]
Name on the gateway: github_api__repos_update_release · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
release_id required | integer | The unique identifier of the release. |
tag_name | string | The name of the tag. |
target_commitish | string | Specifies the commitish value that determines where the Git tag is created… |
name | string | The name of the release. |
body | string | Text describing the contents of the tag. |
draft | boolean | true makes the release a draft, and false publishes the release. |
prerelease | boolean | true to identify the release as a prerelease, false to identify the release as… |
make_latest | true | false | legacy | Specifies whether this release should be set as the latest release for the… |
discussion_category_name | string | If specified, a discussion of the specified category is created and linked to… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__repos_update_release",
"arguments": {
"owner": "…",
"repo": "…",
"release_id": 0
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update a release tool with owner set to ….