Back to Genai Toolbox

firestore-mongodb-execute-mql

docs/en/integrations/firestore/tools/firestore-mongodb-execute-mql.md

1.10.01.1 KB
Original Source

About

A firestore-mongodb-execute-mql tool executes MongoDB Query Language (MQL) statements or aggregation pipelines against Firestore.

This tool allows data agents and LLMs to run dynamic MQL queries such as aggregation pipelines or document queries directly against Firestore databases.

Compatible Sources

{{< compatible-sources >}}

Parameters

ParameterTypeRequiredDescription
querystringtrueThe MQL query or aggregation pipeline to execute against Firestore.

Example

yaml
kind: tool
name: execute_mql
type: firestore-mongodb-execute-mql
source: my-firestore-source
description: Use this tool to execute MQL queries against Firestore.

Reference

fieldtyperequireddescription
typestringtrueMust be "firestore-mongodb-execute-mql".
sourcestringtrueName of the Firestore source to execute queries against.
descriptionstringtrueDescription of the tool that is passed to the LLM.