datastore_insert
Add new entities to Google Cloud Datastore by specifying entity kind and data, with optional namespace and indexing controls.
Instructions
Insert a new entity into Datastore
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>",
"data": "<data>"
},
"name": "datastore_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The kind (type) of the entity | |
| data | Yes | The entity data to insert | |
| keyId | No | Optional key ID (if not provided, Datastore will auto-generate) | |
| namespace | No | Optional namespace for the entity | |
| excludeFromIndexes | No | Optional array of property names to exclude from indexes |