Read an inbox
brain_messages_getRead an agent's inbox messages—unread by default or full history—without marking them as read; mark each message read separately after handling.
Instructions
Read the messages addressed to an agent: unread ones by default, or the full history with unread set to false. Read-only: it does not mark anything as read; call brain_messages_mark_read with each message id once handled. All matching messages are returned at once, with no pagination and no guaranteed order. Returns { agent, count, messages: [{ id, title, type, tags, agent, content }] }. count 0 means the inbox is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Whose inbox to read, using the name senders used as toAgent (case-insensitive, spaces treated as hyphens). | |
| unread | No | true (default) returns only unread messages; false returns every message including read ones. |