list_messages
Retrieve workspace messages and activity logs, showing sender, subject, preview, and attachment status. Sort newest first and read full bodies via get_message, without marking items as seen.
Instructions
List the messages (and optionally the activity log) in a workspace — the portal's Activity tab. Returns compact cards (sender, subject, preview, seen state, attachments), newest first; call get_message for a full body. Reading does NOT mark anything as seen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | "messages" (default): emails and portal messages. "activity": everything else — meetings scheduled, files signed, payments, reminders, AI recaps. "all": both. | |
| limit | No | Max items to return (default 50). | |
| origin | No | Portal origin (e.g. https://<vendor>.hbportal.co). Optional when only one session is active. | |
| workspace_id | Yes | The workspace _id (from list_projects, or .workspace._id on any workspace_file). |