repo_pull_request_write
Create Azure DevOps pull requests after verifying branches, or update title, description, or draft state; writes require an allowed repository.
Instructions
Create a PR after verifying both remote branches, or update its title, description, or draft state. Writes require a process-configured ADO_ALLOWED_REPOSITORIES entry; otherwise they are disabled. The agent supplies project/repository and local Git context. No merge, completion, autocomplete, policy bypass, retargeting, or branch deletion is supported. After an uncertain write outcome, list PRs before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Required for create; optional for update. | |
| action | Yes | ||
| isDraft | No | Create as draft, or change draft state on update. | |
| project | No | Project name or ID. Defaults to ADO_PROJECT; discover with server_info/list_projects. | |
| repository | Yes | Repository name or ID in the selected project. | |
| description | No | PR description. Empty string clears it on update. | |
| sourceBranch | No | Required for create. Push the branch through Git first. | |
| targetBranch | No | Required for create, such as develop. | |
| pullRequestId | No | Required for update; omit for create. |