Skip to main content

execute_tool

Function execute_tool 

Source
pub async fn execute_tool(
    action: &ToolAction,
    approval_tx: Option<&UnboundedSender<WebApprovalRequest>>,
    web_search_mode: WebSearchMode,
    _state: Option<&AppState>,
) -> ToolResult
Expand description

Execute a tool action