ado_abandon_pull_request
Abandon a pull request to close it without merging, discarding changes. Use to cancel a PR that is no longer needed.
Instructions
Abandon (close without merging) a pull request. Destructive.
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_abandon_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID | |
| repoId | Yes | Repository name or ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) |