gmail_threads_modify
Update labels on a Gmail thread to apply changes to every message it contains. Add or remove up to 100 label IDs per update to organize support conversations.
Instructions
Modify the labels on a thread, and so on every message in it.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "gmail_threads_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the thread to modify. | |
| body | Yes | The modify request body. | |
| userId | No | The user's email address. The special value 'me' can be used to indicate the authenticated user. | me |