repo_pull_request
Get a pull request by ID or list pull requests in an Azure DevOps repository, filtering by status and source/target branch to return PR URLs.
Instructions
Get a pull request by ID or list pull requests in a repository, optionally filtering status and source/target branch. Returns human-facing PR URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum results per page (1–100). | |
| skip | No | Page offset. Pass nextSkip from the previous response. | |
| action | Yes | ||
| status | No | active | |
| 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. | |
| sourceBranch | No | Short branch name, such as feature/foo, or refs/heads/feature/foo. | |
| targetBranch | No | Short branch name, such as feature/foo, or refs/heads/feature/foo. | |
| pullRequestId | No | Required for get. |