Set pull request auto-complete
set_pull_request_auto_completeEnable or disable auto-complete for a pull request while respecting branch policies. Set merge strategy, delete source branch, and transition work items with confirmation.
Instructions
Enable or disable policy-respecting PR auto-complete. Policy bypass is always false.
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>",
"enabled": "<enabled>",
"confirm": "<confirm>"
},
"name": "set_pull_request_auto_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to perform the mutation. | |
| enabled | Yes | ||
| project | No | ||
| repositoryId | Yes | ||
| mergeStrategy | No | ||
| pullRequestId | Yes | ||
| deleteSourceBranch | No | ||
| mergeCommitMessage | No | ||
| transitionWorkItems | No |