List pull requests
list_pull_requestsList pull requests in an Azure Repos project or repository, with filters for status, creator, reviewer, and branches to quickly locate code reviews.
Instructions
List Azure Repos pull requests in a repository or project.
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 |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| status | No | ||
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| creatorId | No | ||
| reviewerId | No | ||
| repositoryId | No | Optional repository name or ID. Omit to search the whole project. | |
| sourceRefName | No | ||
| targetRefName | No |