Gmail MCP

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

modify_thread

Add or remove labels from a Gmail thread by specifying label IDs and thread ID. Organize and manage email threads efficiently with precise label updates.

Instructions

Modify the labels applied to a thread

Input Schema

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

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 thread", "items": { "type": "string" }, "type": "array" }, "id": { "description": "The ID of the thread to modify", "type": "string" }, "removeLabelIds": { "description": "A list of label IDs to remove from the thread", "items": { "type": "string" }, "type": "array" } }, "required": [ "id" ], "type": "object" }
ID: 1je9b8hapn