gmail_modify
Modify Gmail messages by ID to mark read/unread, star, archive, or add and remove labels. New labels are created automatically.
Instructions
Change messages: mark read/unread, star/unstar, archive (remove from inbox), add or remove labels. New labels are created automatically.
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": {
"ids": "<ids>"
},
"name": "gmail_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ids (from gmail_search), up to 100 | |
| read | No | true = mark read, false = mark unread | |
| archive | No | true = remove from Inbox | |
| starred | No | ||
| add_labels | No | ||
| remove_labels | No |