Google Super

GOOGLESUPER_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 googlesuper

Other tools also called GOOGLESUPER_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."
    }
  }
}