Update pull request
update_pull_requestUpdate a pull request's title, description, draft state, or active/abandoned status in Azure DevOps.
Instructions
Change PR title, description, draft state, or active/abandoned status. Completion is handled by complete_pull_request.
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>",
"confirm": "<confirm>"
},
"name": "update_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| status | No | ||
| confirm | Yes | Must be true to perform the mutation. | |
| isDraft | No | ||
| project | No | ||
| description | No | ||
| repositoryId | Yes | ||
| pullRequestId | Yes |