Read new messages
mail_checkRetrieve unread agent messages addressed to you, oldest first. Optionally wait up to 300 seconds for new mail; reading consumes each message and moves it to your read folder.
Instructions
Fetch the unread messages addressed to you ("agent"), oldest first. Use it when you expect a reply or want to see if another agent wrote to you. Reading consumes the messages: each one is moved to your read folder and is not returned again, so act on or note what you need. With wait_seconds above 0 the call blocks until at least one message arrives or the time runs out. Returns each message as "[] from (re ) at :" followed by its body, or "no new messages". When live push is installed, new mail may already appear in your session without calling this tool.
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": "mail_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | How long to wait for a message if the inbox is empty, in seconds (0 to 300). 0 returns immediately. |