Act on messages from the inbox view
inbox_view_actionUsed by the interactive inbox view when the person clicks Archive, Trash, Star, or Label. Only reversible actions; each returns an undoId. Reporting spam is not one of them: it goes through propose_mark_spam then confirm_mark_spam. VIP mail is skipped in bulk and needs vipConfirmed from the view's own confirmation click. Agents should use archive_messages, trash_messages, star_messages and the other message tools instead.
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": {
"action": "<action>",
"items": "<items>"
},
"name": "inbox_view_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| action | Yes | ||
| labelIds | No | ||
| vipConfirmed | No |