unlink_memory
Remove links between two memories in either direction; leave relation empty to delete all relations for the pair and get a removed count.
Instructions
取消两条记忆的关联(任一方向);relation 为空时删除该对全部关系。 返回 {"ok": true, "removed": 删除数};记录不存在返回 {"error": "NOT_FOUND"}。 English: Remove links between two memories in either direction; when relation is empty all relations of the pair are removed. Returns {"ok": true, "removed": n}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| client | No | ||
| from_id | Yes | ||
| project | No | ||
| relation | No |