Search mail
search_mailFinds mail threads by sender, subject, topic or words in them.
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>",
"query": "<query>"
},
"name": "search_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| cursor | No | nextCursor from the previous page, with the same filters. | |
| accountId | No | Mail account id from list_mailboxes or a thread. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threads | Yes | ||
| nextCursor | Yes |