🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@ax-crew/tools-google

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ax-crew/tools-google

Google service integrations for AxCrew agents, including Gmail and Google Drive capabilities.

latest
npmnpm
Version
2.0.30
Version published
Maintainers
1
Created
Source

@ax-crew/tools-google

Google service integrations for AxCrew agents, including Gmail and Google Drive capabilities.

Installation

npm install @ax-crew/tools-google

Features

Gmail Integration

import { GmailSearch, GmailSend, GmailConfig } from '@ax-crew/tools-google';

// Configure Gmail credentials
const config: GmailConfig = {
  credentials: {
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
    redirectUri: 'your_redirect_uri',
    refreshToken: 'your_refresh_token'
  }
};

// Create Gmail instances
const gmailSearch = new GmailSearch(config);
const gmailSend = new GmailSend(config);

// Register with AxCrew
const customFunctions = {
  GmailSearch: gmailSearch.toFunction(),
  GmailSend: gmailSend.toFunction()
};

Google Drive Integration

import { DriveSearch, DriveConfig } from '@ax-crew/tools-google';

// Configure Drive credentials
const config: DriveConfig = {
  credentials: {
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
    redirectUri: 'your_redirect_uri',
    refreshToken: 'your_refresh_token'
  }
};

// Create Drive instance
const driveSearch = new DriveSearch(config);

// Register with AxCrew
const customFunctions = {
  DriveSearch: driveSearch.toFunction()
};
const crew = new AxCrew(AxCrewConfig, customFunctions);

FAQs

Package last updated on 01 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts