Skip to main content

ToolSender

Type Alias ToolSender 

Source
pub type ToolSender = UnboundedSender<ToolRequest>;
Expand description

Sender half of the agent tool channel.

Captured by Agent at construction. When the model returns tool calls, the agent sends one ToolRequest per call and awaits each reply. None means no tools are available (e.g. CLI path without a daemon).

Aliased Typeยง

pub struct ToolSender { /* private fields */ }