mcpmessage_send
Send messages between registered chats with optional structured payload and reply-to threading, enabling direct communication and coordinated responses across chat sessions.
Instructions
Send a message from one registered chat to another.
Besides the text body, 'data' carries structured information (a summary, findings, references) so the receiving chat gets typed content instead of prose to re-parse. To answer a received message, pass its id as 'reply_to': the reply lands in the same thread and the original sender can correlate it.
Args: sender: Registered name of the sending chat. recipient: Registered name of the receiving chat (see mcpmessage_list_chats). body: The message text; cannot be empty. data: Optional JSON-serializable payload shared with the message. reply_to: Optional id of the message being answered.
Returns: JSON of the stored message {id, seq, sender, recipient, body, data, reply_to, thread_id, created_at, read_at}, or an "Error: ..." string (unknown chat, empty body, sender == recipient, unknown reply_to).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| data | No | ||
| sender | Yes | ||
| reply_to | No | ||
| recipient | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |