gmail_delete_email
Delete a Gmail message by ID: move it to trash by default or permanently delete it when needed. Verify the message ID first before removal.
Instructions
Delete an email (move to trash or permanently delete).
Args: message_id: The ID of the message to delete permanent: If True, permanently delete (cannot be undone). If False, move to trash (default)
Discovery: use gmail_list_inbox, gmail_search_email, or gmail_read_email first to verify the message_id before deleting.
Sibling tool: gmail_delete_filter deletes a filter definition, not a message.
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": {
"message_id": "<message_id>"
},
"name": "gmail_delete_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permanent | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |