Skip to main content

Module tool

Module tool 

Source
Expand description

Built-in tools: function, streaming function, agent and exit-loop tools, and the task tools.

Re-exports§

pub use agent_tool::*;
pub use exit_loop::*;
pub use function::*;
pub use streaming_function::*;

Modules§

agent_tool
AgentTool, AgentToolConfig: run an agent as a tool.
exit_loop
The exit_loop tool.
function
Function tool: a tool wrapping a typed async function.
streaming_function
The streaming function tool: a tool wrapping a function that returns a stream of text chunks.

Functions§

function_calls
The function calls of c, in order (none for None).