modify_thread_labels
Add or remove label IDs on a Gmail thread to organize messages, archive by removing INBOX, or mark read by removing UNREAD.
Instructions
Add or remove label ids on a thread. Archive = remove INBOX. Mark read = remove UNREAD.
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": {
"thread_id": "<thread_id>"
},
"name": "modify_thread_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| add_label_ids | No | ||
| remove_label_ids | No |