list_messages
Retrieve recent emails from a mailbox folder, sorted by newest first. Filter by date or select specific fields for a customized payload.
Instructions
List recent mail messages from a folder, newest first.
Pass since (ISO-8601) to filter server-side to messages received at or
after that time. Pass fields to override the selected columns (id is
always included) for a leaner or extended payload. Each summary includes
conversation_id for threading without a follow-up fetch.
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 | ||
| since | No | ||
| fields | No | ||
| folder | No | inbox | |
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |