mark_as_read
Removes the UNREAD label from specific Gmail messages in one account and confirms how many messages were actually modified, reporting any ids Gmail could not find.
Instructions
Remove the UNREAD label from specific messages in one account. Message-level: passing a thread id affects only the first message of that conversation. Each id is read back after the change, so the response reports how many messages were actually modified and names any id Gmail could not find.
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>",
"message_ids": "<message_ids>"
},
"name": "mark_as_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account id ("personal", "tamu"). | |
| message_ids | Yes | Gmail message ids ("Gmail ID" in search results), not thread ids. |