Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Batch delete Gmail messages
GMAIL_BATCH_DELETE_MESSAGESPermanently deletes multiple Gmail messages by ID, bypassing Trash. A successful request does not confirm individual messages existed or were deleted.
Delete Draft
GMAIL_DELETE_DRAFTPermanently deletes a specific Gmail draft using its ID with no recovery possible; verify the correct `draft_id` and obtain explicit user confirmation before calling. Ensure the draft exists and the user has necessary permissions for the given `user_id`.
Delete Gmail filter
GMAIL_DELETE_FILTERTool to permanently delete a Gmail filter by its ID. Use when you need to remove an existing email filtering rule.
Delete label from account (permanent)
GMAIL_DELETE_LABELPermanently DELETES a user-created Gmail label from the account (not from a message). WARNING: This action DELETES the label definition itself, removing it from all messages. System labels (INBOX, SENT, UNREAD, etc.) cannot be deleted. To add/remove labels from specific messages, use GMAIL_ADD_LABEL_TO_EMAIL action instead.
Delete message
GMAIL_DELETE_MESSAGEPermanently deletes a specific email message by its ID from a Gmail mailbox; for `user_id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Delete thread
GMAIL_DELETE_THREADTool to immediately and permanently delete a specified thread and all its messages. This operation cannot be undone. Use threads.trash instead for reversible deletion.
Trash thread
GMAIL_MOVE_THREAD_TO_TRASHMoves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.
Move to Trash
GMAIL_MOVE_TO_TRASHMoves an existing, non-deleted email message to the trash for the specified user. Trashed messages are recoverable and still count toward storage quota until purged. Prefer this over GMAIL_BATCH_DELETE_MESSAGES when recovery may be needed. For bulk operations, use GMAIL_BATCH_MODIFY_MESSAGES or GMAIL_BATCH_DELETE_MESSAGES instead of repeated calls to this tool.
Stop watch notifications
GMAIL_STOP_WATCHTool to stop receiving push notifications for a Gmail mailbox. Use when you need to disable watch notifications previously set up via the watch endpoint.