Forget an object
forgetDelete one object and everything hanging off it. IRREVERSIBLE.
Its properties, the relationships and actions it takes part in, its
mentions and its ownership rows go with it. There is no undo and no
tombstone, so confirm with the user before calling — get_object first and
say what will go, and prefer get_change_impact when anything might depend
on it.
Use this for what should never have been recorded: a wrong fact, a test
row, something a person asked to have removed. Do NOT use it to tidy a
DUPLICATE — merge_objects folds the duplicate's properties and edges onto
the object you are keeping first, which forget cannot do.
`reason` is optional and is written to the audit log. Refuses graph
plumbing (relationship/action occurrences, vocabulary templates, the
`_system.*` namespace): delete the domain object and its edges follow.
Requires write access to the graph. An object you can't read (hidden from
you, still waiting for review, or rejected) answers as not found. Not
found doesn't mean it is gone: one you just recorded may be waiting, and
a person decides it in Review. Tell the user so; don't try other ids.
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": {
"memory": "<memory>",
"object_id": "<object_id>"
},
"name": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| reason | No | ||
| object_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||