Delete Records
delete_recordsRemove up to 500 records from one of your v1 data types by supplying the data type ID and record IDs, so deleted items stop appearing in get_records within about a minute.
Instructions
Delete records from one of the user's own v1 data types.
Takes the records' ids, as get_records returns them in each record's id
(record_data also returns the id of each record it creates). Deleted
records stop appearing in get_records within about a minute, for the user
and for anyone the type is shared with; anyone who already read them may
still have a copy.
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": {
"data_type": "<data_type>",
"record_ids": "<record_ids>"
},
"name": "delete_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_type | Yes | The ID of a v1 data type the user owns, e.g. "Event/<uuid>". | |
| record_ids | Yes | The ids of the records to delete, at most 500. |