Send a message
brain_messages_sendSends a message to another agent's inbox for short hand-off context that doesn't belong in a task or note. Recipients read it later with brain_messages_get, so nothing is delivered in real time.
Instructions
Send a message to another agent's inbox. The recipient reads it with brain_messages_get and clears it with brain_messages_mark_read. Use it for short hand-off context that does not belong in a task or a permanent note. Nothing is delivered in real time: the recipient has to check its inbox. Any valid name works as a recipient (the inbox is created on first use and unknown names are not rejected), so check the spelling; an invalid name such as one containing a slash is rejected with the reason. Every call creates a new message, so sending the same text twice delivers it twice. Returns { success, id } where id is the message note id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The message body (markdown). | |
| subject | No | Short subject line. Defaults to "Message from <fromAgent>". | |
| toAgent | Yes | Recipient agent name, e.g. "reviewer". Inbox names are matched case-insensitively with spaces treated as hyphens. No slashes or other filename-invalid characters. | |
| fromAgent | No | Sender name so the recipient knows who wrote. Recorded as "unknown" if omitted. |