remove_issue_label
Removes a specified label from an issue in a GitHub repository. Requires repository owner, repository name, issue number, and label name as inputs.
Instructions
Remove a label from an issue.
Args:
params: Parameters for removing a label including:
- owner: Repository owner (user or organization)
- repo: Repository name
- issue_number: Issue number
- label: Label to remove
Returns:
Empty response on success or error if label doesn't exist
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"RemoveIssueLabelParams": {
"description": "Parameters for removing a label from an issue.",
"properties": {
"issue_number": {
"description": "Issue number",
"title": "Issue Number",
"type": "integer"
},
"label": {
"description": "Label to remove",
"title": "Label",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"title": "Owner",
"type": "string"
},
"repo": {
"description": "Repository name",
"title": "Repo",
"type": "string"
}
},
"required": [
"owner",
"repo",
"issue_number",
"label"
],
"title": "RemoveIssueLabelParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/RemoveIssueLabelParams"
}
},
"required": [
"params"
],
"title": "remove_issue_labelArguments",
"type": "object"
}