Restore deleted work item
devops_work_item_undeleteRestore a deleted work item from the Azure DevOps Recycle Bin by numeric ID; only items deleted without the destroy flag can be recovered.
Instructions
Restore a work item from the Recycle Bin by ID. Only works for items deleted without the destroy flag.
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": {
"work_item_id": "<work_item_id>"
},
"name": "devops_work_item_undelete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_item_id | Yes | The numeric ID of the deleted work item to restore. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |