get_pending_events
Retrieve and clear new incoming mail notifications since last check, providing subject, sender, and timestamp for each event.
Instructions
Return and clear all real-time incoming mail events pushed by the MailKit extension. Returns an empty array if the extension is not installed or no new mail has arrived since the last call. Each event includes: subject, from, date, messageId, preview, receivedAt.
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": "get_pending_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||