Integrations

Google Docs

Connect Castrel to Google Docs for read-only access to Google Documents and Drive content.

Overview

Configuration

To use Google Docs tools, create a Connector with the following fields (service account mode):

FieldRequiredDescription
service_account_emailYesService account email address
service_account_private_keyYesService account RSA private key (PEM format)
service_account_private_key_idYesService account private key ID
service_account_project_idYesGCP project ID
service_account_token_uriNoToken endpoint (default: https://oauth2.googleapis.com/token)
instance_nameNoDisplay name for this connector instance (default: Google Docs Service Account)

The service account needs Viewer permission on target documents, or can be authorized via Google Workspace domain-wide delegation.

Available Tools

This connector provides read-only access to Google Docs and Google Drive.

  • Document reading: Retrieve the body content of specified Google Docs documents
  • Document search: Search documents in Google Drive by name or content
  • File listing: List documents and files under a specified directory
  • Permission queries: View document sharing and permission settings