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}.
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": {
"from_id": "<from_id>",
"to_id": "<to_id>"
},
"name": "unlink_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| client | No | ||
| from_id | Yes | ||
| project | No | ||
| relation | No |