List emails
list_emailsList workspace email summaries, newest first.
Summaries contain IDs and metadata, without message bodies.
Returns ``items`` and ``next_cursor``, or an error.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_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many items one page holds. ``next_cursor`` in the response points to the next page. | |
| cursor | No | Pagination cursor: the ``next_cursor`` from the previous page. Omitted: the first page. | |
| status | No | Only emails currently in this status; ``received`` means inbound. Omitted: every status. | |
| direction | No | Only mail received by the workspace (``inbound``) or only mail it sent (``outbound``). Omitted: both. | |
| llm_model | No | Model ID of the calling agent. Optional. Recorded for analytics only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||