Write one row in the app store
dropyour_records_writeWrite (or replace) ONE row in a graduated app's store, without republishing anything. The store is the app's queryable database (tier 4); this is the same table your app code reads with records.list/get. OPTIMISTIC CONCURRENCY: pass expectedUpdatedAt (the value you got from records_list) and the write is refused with version_conflict if the row changed since. Omit it to create, or to overwrite unconditionally — that is last-write-wins, and it is your choice, not an accident. The row is attributed to 'agent': authorship says WHO wrote, so it is set by the server and never accepted from you. There is no delete verb, deliberately: removing a row cannot be undone, and this platform requires a living human for anything it cannot take back.
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": {
"dropId": "<dropId>",
"collection": "<collection>",
"id": "<id>",
"doc": "<doc>"
},
"name": "dropyour_records_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The row id, unique within the collection. Writing an existing id REPLACES it. | |
| doc | Yes | The row content as a JSON object. | |
| dropId | Yes | ||
| collection | Yes | The collection name, as your app code reads it. | |
| managementToken | No | ||
| expectedUpdatedAt | No | The updatedAt you read. If the row changed since, the write is refused (version_conflict) instead of silently overwriting. |