Skip to main content

ensure_tool_authorized

Function ensure_tool_authorized 

Source
fn ensure_tool_authorized(
    tool_auth: &ToolAuthorization,
    context: &RequestContext<RoleServer>,
    tool_name: &str,
) -> Result<(), ErrorData>