Add pull request labels
add_labelsAdd one or more labels to a pull request without removing existing labels. Provide owner, repository name, pull request number, and label names to apply.
Instructions
Add one or more labels to a pull request. Existing labels are preserved.
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>",
"pull_number": "<pull_number>",
"labels": "<labels>"
},
"name": "add_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name | |
| owner | Yes | GitHub repository owner or organization | |
| labels | Yes | Label names to add | |
| pull_number | Yes | Pull request number |