delete_attachment
Delete one file from a task in the connected LoopGantt ACCOUNT (requires signing in to LoopGantt, or an API key). DESTRUCTIVE and PERMANENT: the file is removed for everyone on the project and cannot be restored. Ask the user before calling, and pass confirm: true only after they agreed; without it nothing is deleted.
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": {
"taskId": "<taskId>",
"attachmentId": "<attachmentId>",
"confirm": "<confirm>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task id from list_tasks | |
| confirm | Yes | Must be true: the user has confirmed this permanent deletion | |
| attachmentId | Yes | Attachment id from list_attachments |