Delete Row
delete_rowSoft-delete a row from a v2 app's collection. Recoverable: the row is tombstoned, not destroyed, and restore_row brings it back for 30 days (see list_deleted_rows). A watcher sees the deletion live as op:delete on the change feed. Pass if_match for an optimistic-locked delete. Returns { deleted: true }.
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": {
"app_id": "<app_id>",
"collection": "<collection>",
"key": "<key>"
},
"name": "delete_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key of the row to delete. | |
| app_id | Yes | The app id. | |
| if_match | No | Optional optimistic-lock version. | |
| collection | Yes | The collection name. |