Gmail MCP

by shinzo-labs
Verified
MIT License
126
1
  • Apple
  • Linux

modify_message

Adjust message labels in Gmail by adding or removing label IDs for better organization. Use this tool within the Gmail MCP server to efficiently manage email categorization.

Instructions

Modify the labels on a message

Input Schema

NameRequiredDescriptionDefault
addLabelIdsNoA list of label IDs to add to the message
idYesThe ID of the message to modify
removeLabelIdsNoA list of label IDs to remove from the message

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "addLabelIds": { "description": "A list of label IDs to add to the message", "items": { "type": "string" }, "type": "array" }, "id": { "description": "The ID of the message to modify", "type": "string" }, "removeLabelIds": { "description": "A list of label IDs to remove from the message", "items": { "type": "string" }, "type": "array" } }, "required": [ "id" ], "type": "object" }
ID: 1je9b8hapn