gmail_mark_read_unread
Mark a Gmail message as read or unread by toggling its UNREAD label. Specify the account, message ID, and desired state.
Instructions
Mark a Gmail message as read or unread. This is a shortcut for modifying the UNREAD label. Requires full scope.
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": {
"accountId": "<accountId>",
"messageId": "<messageId>",
"markAsRead": "<markAsRead>"
},
"name": "gmail_mark_read_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| messageId | Yes | The message ID to modify | |
| markAsRead | Yes | true to mark as read, false to mark as unread |