firestore_set
Create or overwrite a Firestore document from plain JSON, or set merge:true to update only specified top-level fields.
Instructions
Write a Firestore document from plain JSON: replaces it, or with merge:true updates only the given top-level fields.
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": {
"path": "<path>",
"data": "<data>"
},
"name": "firestore_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Fields as plain JSON | |
| path | Yes | Document path | |
| merge | No | Merge into the existing document | |
| database | No | Firestore database id; default (default) |