MCPTools Reference
mail.delete_thread
Delete an entire thread and all its messages
Scope: mail:manage
Soft-delete a thread and all messages in it.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The threadId to delete |
Example
Agent: "Delete that test conversation"
-> mail.delete_thread({ threadId: "thd_abc123" })Returns
{
"message": "Thread 'thd_abc123' deleted"
}REST Equivalent
DELETE /v0/threads/:threadId