data/tools/send_message_tool library
Classes
- BroadcastOutput
- Output from a broadcast message.
- MessageOutput
- Output from a direct message send.
- MessageRouting
- Message routing information for display.
- ParsedAddress
- Parsed peer address supporting teammate, UDS, and bridge schemes.
- PlanApprovalResponseMessage
- RequestOutput
- Output from a shutdown request.
- ResponseOutput
- Output from a shutdown or plan response.
- SendMessageTool
- SendMessage tool -- delivers messages between agents in a multi-agent swarm system.
- ShutdownRequestMessage
- ShutdownResponseMessage
- StructuredMessage
- Discriminated union of structured message types.
- TeamContext
- Minimal team context for SendMessageTool.
- TeamMember
- A member of a team.
Constants
- sendMessageMaxResultSizeChars → const int
- Maximum result size before disk persistence.
- sendMessageToolName → const String
- Tool name matching the TS original.
- teamLeadName → const String
- Display name for the team lead agent.
Functions
-
generateRequestId(
String prefix, String target) → String - Generate a request ID for shutdown/approval requests.
-
parseAddress(
String to) → ParsedAddress -
Parse a recipient address into scheme + target.
Supports
bridge:<session-id>,uds:<socket-path>, or bare names. -
truncate(
String text, int maxLength) → String - Truncate a string to maxLength with ellipsis.