Skip to main content

execute_tool_cached

Function execute_tool_cached 

Source
pub async fn execute_tool_cached(
    name: &str,
    args_val: &Map<String, Value>,
    undo_stack: &mut Vec<UndoAction>,
    cache: &mut ToolCache,
    agent_cwd: Option<&Path>,
) -> (Result<String>, bool)
Expand description

Execute a tool with cache support. Returns (result, was_cache_hit)