Module tools

Module tools 

Source
Expand description

Helper functions for creating user tools from regular Rust functions

This module provides utilities to convert regular Rust functions into ToolHandle implementations for the tools parameter in create_deep_agent(), making it easier to create custom tools while keeping all existing built-in tools unchanged.

Functionsยง

create_sync_tool
Create a tool from a synchronous function
create_tool