List recent messages
list_messagesList recent messages, newest first, optionally only those sent to one address. Returns the id, sender, subject, extracted code and times of each message, not the body; expired messages are left out. Call get_message with an id to read one.
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": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Full recipient address, e.g. signup-42@otp.example.com. Case-insensitive. | |
| limit | No | How many messages to return (default 10). |