@backblaze-labs/b2-mcp
    Preparing search index...

    Function registerObjectLockTools

    • Object Lock tools for the B2 Native API.

      Parameters

      • server: ToolRegistrar

        Tool registrar receiving Object Lock tools.

      • client: B2Client

        Repository-owned B2 native client.

      • config: B2Config

        Server configuration used for destructive policy.

      Returns void

      Requires the bucket to have Object Lock enabled. Legal holds and retention settings independently protect files from deletion.

      Removing retention or a legal hold is protection-stripping (the step before a delete), so those calls are routed through the destructive-operation gate.

      registerObjectLockTools(registrar, b2Client, config);