Expand description
Channel send tool — lets the agent deliver messages to configured channels.
Wraps Channel::send() so the daemon/CLI agent loop can push messages
into Telegram, Slack, Discord, etc. The agent receives configured channel
names and target IDs from system prompt injection.
Security: The to parameter is optional. When omitted, the configured
default_target for the resolved channel key is used. When provided, it
must match the configured default_target — arbitrary recipients are
rejected. This ensures the model can only send to operator-configured
destinations.
Structs§
- Channel
Send Tool - Tool that sends a message through a configured channel.
Type Aliases§
- PerTool
Channel Handle - Per-tool channel-map handle — matches
zeroclaw_runtime::tools::PerToolChannelHandle. Defined locally sozeroclaw-toolsdoesn’t depend onzeroclaw-runtime.