Skip to main content

authorize_tool_invocation

Function authorize_tool_invocation 

Source
pub async fn authorize_tool_invocation(
    ctx: &ToolCtx,
    id: &str,
    name: &str,
    call_args: &ToolArgs,
    tool: &dyn Tool,
) -> Result<ToolCtx, String>