delete-attachment
Permanently remove a file attachment from a Dooray task by providing the project, task, and file IDs.
Instructions
Delete a file attachment from a Dooray task.
Required Parameters:
projectId: The project ID
taskId: The task ID (post ID)
fileId: The file ID to delete (get from get-attachment-list)
Example: { "projectId": "123456", "taskId": "789012", "fileId": "abc123" }
Returns: Success message confirming deletion.
Note: This action is irreversible. The file will be permanently removed from the task.
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": {
"projectId": "<projectId>",
"taskId": "<taskId>",
"fileId": "<fileId>"
},
"name": "delete-attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID to delete | |
| taskId | Yes | Task ID (post ID) | |
| projectId | Yes | Project ID |