ado_list_pull_requests
List pull requests in a repository with optional filters by status, source branch, or target branch.
Instructions
List pull requests in a repository, filterable by status and source/target branch.
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": {
"repoId": "<repoId>"
},
"name": "ado_list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| repoId | Yes | Repository name or ID | |
| status | No | Filter by status (default active) | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| sourceBranch | No | Filter by source branch | |
| targetBranch | No | Filter by target branch |