ado_update_pull_request
Update a pull request by changing its title, description, target branch, or draft state.
Instructions
Update a pull request: title, description, target branch, or draft state.
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": {
"repoId": "<repoId>",
"prId": "<prId>"
},
"name": "ado_update_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID | |
| title | No | ||
| repoId | Yes | Repository name or ID | |
| isDraft | No | Toggle draft state | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| description | No | ||
| targetBranch | No | Re-target the PR to another branch |