forget
Soft-delete a memory to remove it from search results. Optionally require agent ownership to prevent unauthorized removal.
Instructions
Soft-delete a memory. It will no longer appear in search results.
If agent_id is provided, the memory is only deleted when it belongs to that agent. Returns 'forbidden' if the memory belongs to a different agent.
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": {
"id": "<id>"
},
"name": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||