delete_attachment
Permanently delete a file attached to an issue using its attachment ID from list_attachments to remove unwanted or outdated issue files.
Instructions
Permanently delete a file attached to an issue (attachmentId from 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": {
"workspace": "<workspace>",
"identifier": "<identifier>",
"attachmentId": "<attachmentId>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| identifier | Yes | Issue id | |
| attachmentId | Yes | Attachment _id from list_attachments |