Home / Servers / GitHub API / issues_delete_issue_artifact
Delete an issue artifact
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Delete an issue artifact Permanently deletes an artifact attached to an issue. Deleting an artifact requires permission to update the issue. The request can return 403 if the repository is read-only or locked, or a GitHub… [DELETE /repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}]
Name on the gateway: github_api__issues_delete_issue_artifact · 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… |
issue_number required | integer | The number that identifies the issue. |
artifact_number required | integer | The artifact number within the issue. |
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__issues_delete_issue_artifact",
"arguments": {
"owner": "…",
"repo": "…",
"issue_number": 0,
"artifact_number": 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 delete an issue artifact tool with owner set to ….