List work item attachments
list_attachmentsGet attachment details (name, size, comment, creation date, ID, URL) for an Azure DevOps work item by its ID.
Instructions
List the file attachments of an Azure DevOps work item: name, size, comment, created date, attachment id (GUID) and URL.
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>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workItemId | Yes | Work item ID (unique within the collection). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| workItemId | Yes | ||
| attachments | Yes | ||
| workItemRev | Yes |