ado_link_item
Link Azure DevOps work items to related pull requests, commits, branches, or other work items to track dependencies and code changes.
Instructions
Link a work item to another work item, pull request, commit, or 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": {
"id": "<id>",
"linkType": "<linkType>",
"target": "<target>"
},
"name": "ado_link_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item ID | |
| target | Yes | Target work item ID, PR number, commit SHA, or branch name | |
| comment | No | Link comment | |
| linkType | Yes | Type of link to create |