List messages
list_messagesMessage metadata for an identity (no bodies): direction, counterparty, subject (only when retention is on), status, size and time. Filter by direction, status, counterparty, subject_contains, since/until (ISO 8601).
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": {
"identity_id": "<identity_id>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-100 (default 25). | |
| since | No | ISO 8601 date or date-time, inclusive. | |
| until | No | ISO 8601 date or date-time, inclusive; a bare date runs to end of day. | |
| cursor | No | Opaque next_cursor from the previous page. | |
| status | No | One of queued, sending, reconciliation_required, sent, failed, received, draft; other values match nothing. | |
| direction | No | in, out or draft; other values match nothing. | |
| identity_id | Yes | Identity id from list_identities. | |
| counterparty | No | Exact email address to match. | |
| subject_contains | No | Substring match; only identities with retain_content=true have stored subjects. |