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)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_pull_requests"
}
}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. |