Firebase MCP

by gannonh
Verified

firestore_list_documents

Retrieve documents from a Firestore collection using specified filters, pagination, and limit settings for precise data queries.

Instructions

List documents from a Firestore collection with optional filtering

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
filtersNoArray of filter conditions
limitNoNumber of documents to return
pageTokenNoToken for pagination to get the next page of results

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "filters": { "description": "Array of filter conditions", "items": { "properties": { "field": { "description": "Field name to filter", "type": "string" }, "operator": { "description": "Comparison operator", "type": "string" }, "value": { "description": "Value to compare against (use ISO format for dates)", "type": "any" } }, "required": [ "field", "operator", "value" ], "type": "object" }, "type": "array" }, "limit": { "default": 20, "description": "Number of documents to return", "type": "number" }, "pageToken": { "description": "Token for pagination to get the next page of results", "type": "string" } }, "required": [ "collection" ], "type": "object" }
ID: x4i8z2xmrq