Create Document
Creates a new document in a specified Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_DOCUMENT])
Update Document
Updates an existing document in a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_DOCUMENT])
Delete Document
Deletes a specific document from a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_DOCUMENT])
Get Document
Retrieves a specific document from a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_DOCUMENT])
Query Documents
Queries documents in a Firestore collection based on specified criteria.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.QUERY_DOCUMENTS])
Add Field To Document
Adds a new field to an existing document in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_FIELD_TO_DOCUMENT])
Remove Field From Document
Removes a specific field from a document in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_FIELD_FROM_DOCUMENT])
Batch Write
Performs multiple write operations as a single atomic unit.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BATCH_WRITE])
Create Collection
Creates a new collection in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_COLLECTION])
Delete Collection
Deletes an entire collection and all its documents from Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_COLLECTION])
Set Document
Creates or replaces a document with the specified data.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_DOCUMENT])
Increment Field
Increments a numeric field in a Firestore document by a specified amount.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INCREMENT_FIELD])
Array Union
Adds elements to an array field in a Firestore document.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARRAY_UNION])
Array Remove
Removes elements from an array field in a Firestore document.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARRAY_REMOVE])
Get Collection
Retrieves all documents in a specified Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_COLLECTION])
Document Created
Triggers when a new document is created in a specified Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_CREATED])
Document Updated
Triggers when an existing document is updated in a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_UPDATED])
Document Deleted
Triggers when a document is deleted from a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_DELETED])
Document Written
Triggers on any write operation (create, update, or delete) in a Firestore collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_WRITTEN])
Query Results Changed
Triggers when the results of a specified query change in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.QUERY_RESULTS_CHANGED])
Field Value Changed
Triggers when a specific field's value changes in a Firestore document.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FIELD_VALUE_CHANGED])
Document Field Added
Triggers when a new field is added to a document in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_FIELD_ADDED])
Document Field Removed
Triggers when a field is removed from a document in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_FIELD_REMOVED])
Collection Empty
Triggers when a Firestore collection becomes empty (all documents deleted).
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COLLECTION_EMPTY])
Document Count Threshold
Triggers when the number of documents in a collection reaches a specified threshold.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_COUNT_THRESHOLD])
Scheduled Query
Triggers a specified Firestore query at scheduled intervals.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_QUERY])
Document Attribute Matches
Triggers when a document's attribute matches a specified condition.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_ATTRIBUTE_MATCHES])
Collection Created
Triggers when a new collection is created in Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COLLECTION_CREATED])
Collection Deleted
Triggers when a collection is deleted from Firestore.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COLLECTION_DELETED])
Document Snapshot
Triggers to capture a snapshot of a document at a specific point in time.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_SNAPSHOT])