List User Messages
cascade_list_messagesRetrieve internal Cascade mailbox messages for the authenticated user, including workflow requests, notifications, and alerts. Supports pagination with limit and offset parameters.
Instructions
List in-Cascade mailbox messages for the authenticated user.
Cascade has an internal message center — workflow requests, publish notifications, system alerts, and peer messages all land here. Returns all messages visible to the authenticated user (both unread and read, active inbox and archived, depending on your Cascade server's defaults). Message IDs from this list can be passed to cascade_mark_message or cascade_delete_message.
Args:
limit (number, optional): Max results per page, 1-500 (default 50)
offset (number, optional): Skip N results for pagination (default 0)
Returns: The response is a page: { success: true, total: , count: , offset: , has_more: , next_offset: <offset for next page, if has_more>, messages: [ { id, type: "message", to, from?, subject, date?, body }, ... ] } On failure: { success: false, message: "" }
Examples:
Use when: "What's in my Cascade inbox?" -> {}
Use when: "Check if workflow messages are waiting" -> {} then filter messages by subject.
Don't use when: You want an asset's relationships or subscribers — use cascade_list_subscribers.
Don't use when: You want audit events — use cascade_read_audits.
Pagination:
Default limit of 50 works for most inboxes. Increase up to 500 for larger ones.
If has_more is true and you need all messages, call again with offset: next_offset.
For focused queries (most recent only), stop as soon as you have what you need.
Error Handling:
"Authentication failed" when credentials are invalid
"Permission denied" when the user has no mailbox configured. Responses are JSON text; structuredContent is authoritative when the response fits. Oversized responses return bounded _cache metadata for cascade_read_response. For cascade_read, read_mode controls preview versus raw Cascade payload shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per page (default: 50, max: 500). Check has_more and use next_offset to iterate. For a complete enumeration, loop until has_more=false. | |
| offset | No | Skip this many results for pagination (default: 0). Use with limit + has_more to iterate through large result sets. |