list_messages
Retrieve messages from a mailbox folder (inbox or sent) in newest-first order without marking them read; supports pagination for agent email checks.
Instructions
List one mailbox folder, newest first. Reading does not mark messages as read.
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 |
|---|---|---|---|
| limit | No | ||
| folder | No | inbox | |
| beforeId | No | ||
| accountId | No |