firestore-delete-documents Tool
A “firestore-delete-documents” tool deletes multiple documents from Firestore by their paths.
less than a minute
About
A firestore-delete-documents tool deletes multiple documents from Firestore by
their paths.
firestore-delete-documents takes one input parameter documentPaths which is
an array of document paths to delete. The tool uses Firestore’s BulkWriter for
efficient batch deletion and returns the success status for each document.
Compatible Sources
This tool can be used with the following database sources:
| Source Name |
|---|
| Firestore Source |
Example
kind: tools
name: delete_user_documents
type: firestore-delete-documents
source: my-firestore-source
description: Use this tool to delete multiple documents from Firestore.
Reference
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be “firestore-delete-documents”. |
| source | string | true | Name of the Firestore source to delete documents from. |
| description | string | true | Description of the tool that is passed to the LLM. |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.