Skip to main content

execute_tools_sequential

Function execute_tools_sequential 

Source
pub async fn execute_tools_sequential(
    tools: &HashMap<String, Arc<dyn Tool>>,
    calls: &[ToolCall],
    state: &Value,
) -> (Value, Vec<ToolExecution>)
Expand description

Execute tool calls sequentially, applying each resulting patch before the next call.