Get pull request work items
get_pull_request_work_itemsFind work items linked to a pull request by providing repository and pull request IDs. Use this tool to quickly identify associated tasks, bugs, or user stories for review or traceability.
Instructions
Get work items directly linked to a pull request.
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": {
"repositoryId": "<repositoryId>",
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| repositoryId | Yes | Repository name or ID. | |
| pullRequestId | Yes | Pull request numeric ID. |