List messages in a mailbox
list_messagesList incoming emails in a mailbox, newest first, with short previews. Use when automatic code extraction fails and you need to inspect the mail manually.
Instructions
List what has arrived in a mailbox, newest first, with a short preview of each. Use it when the code extraction found nothing and you need to look at the mail yourself.
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": {
"mailboxId": "<mailboxId>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailboxId | Yes | Mailbox id from create_mailbox |