e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
1.3 KiB
1.3 KiB
title, type, weight, description
| title | type | weight | description |
|---|---|---|---|
| firestore-delete-documents | docs | 1 | A "firestore-delete-documents" tool deletes multiple documents from Firestore by their paths. |
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
{{< compatible-sources >}}
Example
kind: tool
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. |