delete_attachment
Delete an attachment from Linear by first creating a draft preview, then confirming to remove it permanently.
Instructions
Delete an attachment. Destructive — uses draft+confirm.
Two-call flow identical to delete_webhook. The first call
returns a draft_id + preview of the attachment that will be
removed; the second call (with confirm_draft_id) commits.
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": {
"id": "<id>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| workspace | No | ||
| confirm_draft_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||