datastore_upsert
Insert or update entities in Google Firestore Datastore mode using upsert operations to manage data with specified keys, kinds, and optional namespaces.
Instructions
Insert or update an entity in Datastore (upsert operation)
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": {
"kind": "<kind>",
"keyId": "<keyId>",
"data": "<data>"
},
"name": "datastore_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The kind (type) of the entity | |
| keyId | Yes | The ID of the key | |
| data | Yes | The entity data | |
| namespace | No | Optional namespace for the entity | |
| excludeFromIndexes | No | Optional array of property names to exclude from indexes |