Delete data points from a project's memory
delete_memoryDeletes data points from a project's memory by their source ids, as POST /api/v1/data-points/delete does: each data point and every memory past drew from it leave recall at once, and their stored copies and index entries are purged in the background. A recall names each source's id as sourceId. Every id must name a live data point of the project, or nothing is deleted and the refusal names the ids that do not. Destructive: call it without confirm first, put the sentence it answers to the person, and call again with confirm: true only if they agree. It answers the deletion's operationId; get_memory_deletion says when the purge is done. Deleting spends no credits. Needs project Write.
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": {
"sourceIds": "<sourceIds>",
"confirm": "<confirm>"
},
"name": "delete_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | true only once the person has agreed to the sentence an unconfirmed call answered with. | |
| project | No | The project's slug, exactly as list_projects returned it. Omit it only when the organization has one live project. | |
| sourceIds | Yes | The source ids to delete, 1 to 1,000, exactly as recall_memory or ingest_memory returned them. |