Skip to main content
Apply or remove labels on an email

Tool details

FieldValue
Namegmail__apply_labels
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "Email message ID"
    },
    "addLabelIds": {
      "type": "array",
      "description": "Label IDs to add"
    },
    "removeLabelIds": {
      "type": "array",
      "description": "Label IDs to remove"
    }
  },
  "required": [
    "messageId"
  ],
  "description": "Input schema for the gmail__apply_labels tool."
}

Output schema

This tool does not publish an output schema.