MCP tools
Interactive views
Lists and cards for hosts that support MCP Apps. Other hosts get the same data as text.
Call these with tools/call on https://getinboxtriage.com/mcp. See the MCP overview for sign-in and the request format.
show_inbox
Tool
Shows mail as an interactive list. Apps without MCP Apps get a text table.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
inbox |
string | Optional | Inbox name (like "Work Gmail"), inbox id, or leave empty for all inboxes combined |
filter |
enum | Optional | needs (default: unread or VIP mail in the inbox, newsletters left out), vip, newsletters, today, since (since the last triage), all One of: needs, vip, newsletters, today, since, all. |
since |
string | Optional | ISO time for filter "since". Defaults to when the person last finished triage. |
offset |
number | Optional | Where to start. Pass nextOffset from the last page. |
limit |
number | Optional | Rows per page, 1 to 50. Default 25. |
timeZone |
string | Optional | The person's IANA time zone, like America/Chicago, so "today" means their calendar day. Without it, "today" is the last 24 hours. |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "show_inbox",
"arguments": {
"filter": "needs",
"timeZone": "America/Chicago"
}
}
}
undo_view_action
Tool
Undoes one earlier action from the inbox view. Works once, for 24 hours.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
undoId |
string | Optional | undoId from an earlier action. |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "undo_view_action",
"arguments": {}
}
}
inbox_view_page
App only
The inbox view switching tabs, filters, and pages. Agents call show_inbox.
Hidden from the model (visibility: ['app']). The interactive view calls it directly.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
inbox |
string | Optional | Inbox name (like "Work Gmail"), inbox id, or leave empty for all inboxes combined |
filter |
enum | Optional | needs (default: unread or VIP mail in the inbox, newsletters left out), vip, newsletters, today, since (since the last triage), all One of: needs, vip, newsletters, today, since, all. |
since |
string | Optional | ISO time for filter "since". Defaults to when the person last finished triage. |
offset |
number | Optional | Where to start. Pass nextOffset from the last page. |
limit |
number | Optional | Rows per page, 1 to 50. Default 25. |
timeZone |
string | Optional | The person's IANA time zone, like America/Chicago, so "today" means their calendar day. Without it, "today" is the last 24 hours. |
inboxId |
string | Optional | Inbox id from list_inboxes. |
inbox_view_action
App only
The inbox view running a click (archive, trash, spam, star, label). Agents use the triage tools.
Hidden from the model (visibility: ['app']). The interactive view calls it directly.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
action |
enum | Required | What to do to the messages. One of: archive, trash, spam, star, unstar, label. |
items |
object[] | Required | Rows to act on, from show_inbox: inboxId and messageId. |
labelIds |
string[] | Optional | Gmail label ids from list_labels. |
vipConfirmed |
boolean | Optional |
attachment_link
App only
The inbox view getting a short-lived download link when the person clicks Download on an attachment. Agents use get_attachment.
Hidden from the model (visibility: ['app']). The interactive view calls it directly.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
inboxId |
string | Required | Inbox id from list_inboxes. |
messageId |
string | Required | Message id from list_messages, search_mailbox, or show_inbox. |
partId |
string | Required | Attachment partId from get_message. |
get_message_html
App only
The inbox view loading one message as its sender designed it, cleaned so no scripts run, with remote images off until the person asks. Agents use get_message.
Hidden from the model (visibility: ['app']). The interactive view calls it directly.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
inboxId |
string | Required | Inbox id from list_inboxes. |
messageId |
string | Required | Message id from list_messages, search_mailbox, or show_inbox. |
allowImages |
boolean | Optional |