search_emails
Find Yahoo Mail messages by subject, sender, date range, folder, or unread status; returns permanent UIDs for follow-up actions.
Instructions
Search emails using UIDs with advanced filters. Returns UIDs which are permanent identifiers that don't change when emails are deleted. Get UIDs from results for subsequent operations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return (default: 10, max: 50) | |
| query | No | Search term for subject or sender (can be empty for date-only searches) | |
| dateTo | No | Filter emails up to this date (ISO 8601 or RFC 2822 format) | |
| folder | No | Folder to search in (default: INBOX). Use list_folders to see available folders. | INBOX |
| sender | No | Filter by specific sender email address or name | |
| dateFrom | No | Filter emails from this date onwards (ISO 8601 or RFC 2822 format) | |
| unreadOnly | No | Only return unread emails (default: false) |