unlabel_thread
Remove labels from every message in a Gmail thread. Removing INBOX archives the conversation, while removing UNREAD marks it as read.
Instructions
Remove labels from every message in a thread. Removing INBOX archives the conversation; removing UNREAD marks it read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"threadId": "<threadId>",
"labelIds": "<labelIds>"
},
"name": "unlabel_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labelIds | Yes | ||
| threadId | Yes |