paperclip_delete_attachment
Permanently delete an attachment by UUID to remove superseded or mistakenly uploaded files from an issue.
Instructions
Permanently delete an attachment by ID.
Args:
attachmentId: string — Attachment UUID (example: "att_abc123")
Returns: Returns the deleted attachment stub: id, filename, confirming deletion.
Examples:
Use when: removing a superseded or mistakenly uploaded file from an issue
Don't use when: you want to read the file first — use paperclip_download_attachment before deleting
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: attachment not found → verify UUID with paperclip_list_attachments
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>"
},
"name": "paperclip_delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentId | Yes | Attachment UUID |