datastore_createKey
Generate unique identifiers for entities in Google Firestore Datastore mode. Create complete keys with IDs or incomplete keys for new entities to support structured data storage.
Instructions
Create a complete or incomplete key
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>"
},
"name": "datastore_createKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The kind (type) for the key | |
| keyId | No | Optional key ID (omit for incomplete key) | |
| namespace | No | Optional namespace | |
| path | No | Optional array for creating hierarchical keys [kind, id/name, kind, id/name, ...] |