gmail_modify
Add or remove labels on Gmail messages and threads to control archive, read state, star, and trash.
Instructions
Add or remove labels by name on messages or threads; covers archive, read state, star, trash.
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": {
"account": "<account>"
},
"name": "gmail_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| add_labels | No | ||
| thread_ids | No | ||
| message_ids | No | ||
| remove_labels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |