firestore-list-collections Tool

A “firestore-list-collections” tool lists collections in Firestore, either at the root level or as subcollections of a document.

About

A firestore-list-collections tool lists collections in Firestore, either at the root level or as subcollections of a specific document.

firestore-list-collections takes an optional parentPath parameter to specify a document path. If provided, it lists all subcollections of that document. If not provided, it lists all root-level collections in the database.

Compatible Sources

This tool can be used with the following database sources:

Source Name
Firestore Source

Example

kind: tools
name: list_firestore_collections
type: firestore-list-collections
source: my-firestore-source
description: Use this tool to list collections in Firestore.

Reference

fieldtyperequireddescription
typestringtrueMust be “firestore-list-collections”.
sourcestringtrueName of the Firestore source to list collections from.
descriptionstringtrueDescription of the tool that is passed to the LLM.