Back to Genai Toolbox

firestore-mongodb-get-schema

docs/en/integrations/firestore/tools/firestore-mongodb-get-schema.md

1.10.01.2 KB
Original Source

About

A firestore-mongodb-get-schema tool retrieves schema information and inferred document structures for Firestore collections.

This tool introspects collections to detect field names, nested maps, and data types (such as string, integer, double, boolean, timestamp, geopoint, and reference), returning structured schema definitions.

Compatible Sources

{{< compatible-sources >}}

Parameters

ParameterTypeRequiredDescription
collectionstringfalseOptional name or relative path of a specific collection. If omitted, schemas for all root collections are returned.

Example

yaml
kind: tool
name: get_schema
type: firestore-mongodb-get-schema
source: my-firestore-source
description: Use this tool to retrieve schemas for Firestore collections.

Reference

fieldtyperequireddescription
typestringtrueMust be "firestore-mongodb-get-schema".
sourcestringtrueName of the Firestore source to introspect.
descriptionstringtrueDescription of the tool that is passed to the LLM.