Skip to main content
View source

Firestore

View as Markdown

A standard node for interacting with Google Cloud Firestore (Native mode).

Authentication

This node uses the shared RocketRide Google Cloud authentication logic. You can authenticate by either:

  1. Uploading a Service Account JSON Key.
  2. Leaving the key blank and relying on Application Default Credentials (ADC) if your RocketRide server is hosted on Google Cloud Run, GKE, or a Compute Engine VM with attached service accounts.

Usage

When placed in a pipeline as a tool node, the LLM can:

  • get_document: Fetch an existing document by its collection and document ID.
  • set_document: Create or update (merge) a document with JSON data.

Schema

FieldTypeDescriptionDefault
firestore.collectionstringCollection
The Firestore collection to query or insert into.
firestore.databasestringDatabase ID
The Firestore database ID. Usually '(default)'.
"(default)"
firestore.profilestring"default"

Dependencies

  • google-auth >=2.23.3
  • google-cloud-firestore >=2.13.0