List mail
list_mail_threadsLists mail threads for inbox triage: what needs a reply, unread, starred, important or sent mail, newest first. Read one with read_mail_thread.
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": {
"workspace": "<workspace>"
},
"name": "list_mail_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | nextCursor from the previous page, with the same filters. | |
| filter | No | inbox | |
| accountId | No | One account from list_mailboxes; default: all of them. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threads | Yes | ||
| nextCursor | Yes |