search_pull_requests
Search pull requests across your Azure DevOps organization, repository, or project. Use filters for status, creator, and target branch to narrow down results.
Instructions
Search pull requests ORG-WIDE by default, or within a repo (repoId) or a project. Filters: status, creatorId, targetRef. (GET _apis/git/pullrequests)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| repoId | No | Repository id (GUID) or name (omit for org-wide / project-wide search). | |
| status | No | active | completed | abandoned | all. | |
| project | No | Restrict to a single project (optional). | |
| creatorId | No | Creator identity id. | |
| targetRef | No | Target branch ref name, e.g. refs/heads/main. |