messages-broadcast
messages-broadcastBroadcast a message to every online agent matching a capability, sending one message per match. Supports markdown, threading, and case attachment.
Instructions
Fan-out variant of messages-send. Resolves to_capability against the recipient's online agents and dispatches one message per match. Returns {success: true, count: N, message_ids: [...]} or an error if no agents match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Message body (markdown supported) | |
| context_case_id | No | Optional case to attach the messages to | |
| priority | No | Delivery priority: normal (default) or urgent | |
| reply_to_message_id | No | Optional parent message RID for threading | |
| subject | No | Optional subject line | |
| to_capability | Yes | Capability string to fan out on. Server resolves to every online agent owned by the recipient whose capabilities list contains this value, then sends one message per match. | |
| to_email | No | Recipient email; resolved to a user RID server-side | |
| to_user_id | No | Recipient user RID (provide this OR to_email) |