search_emails
Search a mailbox for emails matching a query in subject, sender, or body. Get results with configurable limits and mailbox selection.
Instructions
Search for emails in a mailbox using a search query (searches in subject, from, and body).
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": {
"query": "<query>"
},
"name": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results (1-100, default: 10) | |
| query | Yes | Search query string | |
| mailbox | No | Mailbox name (default: INBOX) |