Skip to content

memory_forget

MCP tools › Window and UI driver

Delete memory entries: ids, or expired: true for every expired entry of layers (all when left out; task narrows the task layer). An unknown id is refused. dry_run defaults to true and answers the ids that would be deleted; dry_run=false deletes them: entries of the task and project layers need the write right, of the user layer the settings right, of the session layer none; real deletions are logged in .ferris-idea/agent-log.jsonl. The person can also change or delete entries in memory.toml in the user's settings folder.

Capabilityui.memory_forget
AreaWindow and UI driver
Accesschanges files, settings
Reaches—
Rightswrite, settings
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
idsarray of stringIds of the entries to delete.default []
expiredbooleanDelete every expired entry of layers (all when left out) instead.
layersarray of stringLayers for expired.
taskstringOnly this task's expired entries in the task layer.
dry_runbooleanOnly answer what would be deleted (default true).

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project memory_forget
Input schema as JSON
{
"type": "object",
"additionalProperties": false,
"properties": {
"ids": {
"description": "Ids of the entries to delete.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"expired": {
"description": "Delete every expired entry of `layers` (all when left out) instead.",
"type": [
"boolean",
"null"
]
},
"layers": {
"description": "Layers for `expired`.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"task": {
"description": "Only this task's expired entries in the task layer.",
"type": [
"string",
"null"
]
},
"dry_run": {
"description": "Only answer what would be deleted (default true).",
"type": [
"boolean",
"null"
]
}
}
}