get_prs_for_work_item
Retrieve pull requests linked to a specified work item in an Azure DevOps repository. Provide the repository name or ID and work item ID.
Instructions
Find pull requests linked to a work item
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": {
"repository": "<repository>",
"workItemId": "<workItemId>"
},
"name": "get_prs_for_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name | |
| repository | Yes | Repository name or ID | |
| workItemId | Yes | Work item ID |