List pull requests
list_pull_requestsList pull requests from an Azure DevOps repo, with optional status filter to view active, completed, or all PRs.
Instructions
List pull requests in a repository, optionally filtered by status (active by default).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"repo": "<repo>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository id or name (from list_repositories) | |
| status | No | Filter by PR status; defaults to 'active' | |
| project | Yes | Project name or id (must be within AZDO_PROJECT_ALLOWLIST when that is set) |