Manage pull request label
manage_pull_request_labelAdd or remove a label on an Azure DevOps pull request to organize or filter work. Specify the action, label, and confirm to update the PR.
Instructions
Add or remove a pull request label.
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": {
"repositoryId": "<repositoryId>",
"pullRequestId": "<pullRequestId>",
"action": "<action>",
"label": "<label>",
"confirm": "<confirm>"
},
"name": "manage_pull_request_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name for add, or label ID/name for remove. | |
| action | Yes | ||
| confirm | Yes | Must be true to perform the mutation. | |
| project | No | ||
| repositoryId | Yes | ||
| pullRequestId | Yes |