grove_bus_send
Send structured bus messages between agents with control over recipient, message type, priority, TTL, and correlation for request-response pairing.
Instructions
Send a structured bus message — addressed, typed, and prioritized. Requires grove_write.
Args: channel_name: Channel to post to. content: Message body. sender: Sending agent name. Defaults to your resolved grove_sender. A different identity requires grove_relay. to_agent: Recipient agent name, or 'all' for broadcast. bus_type: COMMAND, RESPONSE, EVENT, INTERRUPT, HEARTBEAT, ACK, DATA, SYNC. priority: 0=INTERRUPT, 3=NORMAL, 6=HEARTBEAT, 7=DEBUG. correlation_id: Pair requests with responses. Leave empty for new messages. ttl: Seconds until message expires. 0 = never.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| app_id | No | ||
| sender | No | ||
| content | Yes | ||
| bus_type | No | EVENT | |
| priority | No | ||
| to_agent | No | __all__ | |
| channel_name | Yes | ||
| correlation_id | No |