get_work_item_attachment
Download an Azure DevOps work item attachment and save it locally using the attachment ID from the work item relations.
Instructions
Download an attachment from Azure DevOps and save it to the local filesystem. 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": {
"attachmentId": "<attachmentId>",
"outputPath": "<outputPath>"
},
"name": "get_work_item_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | The absolute path where the attachment will be saved | |
| attachmentId | Yes | The ID (GUID) of the attachment to download. Can be obtained from the work item relations. |