Gmail
GMAIL_MODIFY_THREAD_LABELS
Adds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.
Remote gmail
Other tools also called GMAIL_MODIFY_THREAD_LABELS?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"user_id": {
"type": "string",
"title": "User Id",
"default": "me",
"examples": [
"[email protected]",
"me"
],
"description": "User's email address or 'me' for the authenticated user."
},
"thread_id": {
"type": "string",
"title": "Thread Id",
"examples": [
"18ea7715b619f09c"
],
"description": "Immutable ID of the thread to modify."
},
"add_label_ids": {
"type": "array",
"items": {
"type": "string",
"properties": {}
},
"title": "Add Label Ids",
"default": null,
"examples": [
"STARRED",
"INBOX"
],
"nullable": true,
"description": "List of label IDs to add to the thread; these labels must exist."
},
"remove_label_ids": {
"type": "array",
"items": {
"type": "string",
"properties": {}
},
"title": "Remove Label Ids",
"default": null,
"examples": [
"IMPORTANT",
"CATEGORY_UPDATES"
],
"nullable": true,
"description": "List of label IDs to remove from the thread; these labels must exist."
}
}
}