firestore-create-document
Create new documents in Firestore collections with structured data, specifying collection IDs and optional document IDs for organized database management.
Instructions
Create a new document in Firestore
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collectionId": "<collectionId>",
"data": "<data>"
},
"name": "firestore-create-document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | The ID of the collection | |
| documentId | No | Optional document ID (auto-generated if not provided) | |
| data | Yes | The document data |