List pull requests
list_pull_requestsList pull requests across all repositories in a project or filter by repository. Filter by status and limit results. Use to find open PRs, PRs without reviewers, or all PRs in a project.
Instructions
List pull requests across ALL repositories in a project, or filter to one repository. Use this for questions like 'show all open PRs', 'which PRs have no reviewer', 'list PRs in project X'. Leave repositoryId empty to search the whole project at once.
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": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Azure DevOps project name or id. Defaults to AZDO_PROJECT if set. | |
| repositoryId | No | Repository id or name. Omit to get PRs across all repositories in the project. | |
| status | No | PR status filter. Default: active. | |
| top | No | Max PRs to return. Default: 100. |