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

    Function registerPartnerTools

    • Partner API tools — Group management, trial account provisioning, and computer backup management. These endpoints require the admin account to be authorized for the Partner API and a MASTER application key.

      Parameters

      • server: ToolRegistrar

        Tool registrar receiving Partner/Groups tools.

      • client: B2Client

        Repository-owned B2 client configured with the master key.

      • _auth: B2AuthManager

        Partner auth manager retained for registration signature compatibility.

      • config: B2Config

        Server configuration for destructive policy and secret-sink behavior.

      • options: DurableSecretRegistrationOptions = {}

        Registration controls; registerDurableSecretSchemas forces the full b2_create_group_member / b2_reserve_trial_create_account schemas even without an active sink (discovery mode, where execution is guarded separately) so tools/list advertises real inputs.

      Returns void

      Secret-producing Partner account-creation flows run only when a durable secret sink is active. Off mode keeps compatibility stubs in createServer.

      registerPartnerTools(registrar, masterClient, masterAuth, config);