gmail_threads_modify
Add or remove labels on Gmail threads to archive, mark as read, or star. Manage thread states through label operations.
Instructions
Modify a Gmail thread: add/remove labels. To archive, remove INBOX. To mark read, remove UNREAD. To star, add STARRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User ID (use 'me') | |
| id | Yes | Thread ID | |
| addLabelIds | No | JSON array of label IDs to add, e.g. ["STARRED"] | |
| removeLabelIds | No | JSON array of label IDs to remove, e.g. ["INBOX","UNREAD"] |