delete_work_item_attachment
Remove an attachment from an Azure DevOps work item by providing the work item ID and attachment GUID, typically obtained from work item relations.
Instructions
Delete an attachment from a work item. The attachment ID can be obtained from the work item relations.
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": {
"workItemId": "<workItemId>",
"attachmentId": "<attachmentId>"
},
"name": "delete_work_item_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workItemId | Yes | The ID of the work item to delete the attachment from | |
| attachmentId | Yes | The ID (GUID) of the attachment to delete. Can be obtained from the work item relations. |