list_work_item_attachments
Retrieve all attachments for a work item, including metadata like name, size, and content type, to see what files are linked.
Instructions
List all attachments for a work item.
Returns metadata for each attachment. To get a downloadable link for a specific attachment, use get_work_item_attachment_download_url.
Args: project_id: UUID of the project work_item_id: UUID of the work item
Returns: List of attachments, each with: id, name, size, content_type, created_at, created_by.
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": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>"
},
"name": "list_work_item_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| work_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |