Skip to main content

execute_tool_with_gen

Function execute_tool_with_gen 

Source
pub async fn execute_tool_with_gen(
    provider: &Provider,
    tool: &Tool,
    args: &HashMap<String, Value>,
    keyring: &Keyring,
    gen_ctx: Option<&GenContext>,
    auth_cache: Option<&AuthCache>,
) -> Result<Value, HttpError>
Expand description

Execute an HTTP tool call, optionally using a dynamic auth generator.