messages-list
messages-listRetrieve messages received by the current user, with filtering by case, sender, read status, or parent reply message.
Instructions
Lists messages received by the current user. Defaults to unread messages in the personal Inbox case. Filtering on status/from_user_id/reply_to_message_id happens in Elixir since the message data is stored as a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | No | Optional case to scope the listing to. Defaults to the caller's personal Inbox case (preferences.inbox_case_id). | |
| from_user_id | No | Filter to messages sent by a specific user RID | |
| limit | No | Max messages to return (default 50) | |
| reply_to_message_id | No | Filter to messages that reply to a specific parent message RID. Used by orchestrators to collect replies for a given request. | |
| status | No | Filter by read status: "unread" (default), "read", or "all" |