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.
| Capability | ui.memory_forget |
|---|---|
| Area | Window and UI driver |
| Access | changes files, settings |
| Reaches | — |
| Rights | write, settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
ids | array of string | Ids of the entries to delete.default [] |
expired | boolean | Delete every expired entry of layers (all when left out) instead. |
layers | array of string | Layers for expired. |
task | string | Only this task's expired entries in the task layer. |
dry_run | boolean | Only 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.
ferris-idea call ~/my-project memory_forgetInput 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" ] } }}