> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memanto edit

> CLI command for memanto edit.

# memanto edit

Update fields on an existing memory for the active agent.

```bash theme={null}
memanto edit MEMORY_ID [OPTIONS]
```

**Arguments:**

* `MEMORY_ID` - ID of the memory to update (required)

**Options:**

* `--title TEXT` - New memory title
* `--content TEXT` - New memory content
* `-t, --type TEXT` - New memory type
* `-c, --confidence FLOAT` - New confidence score (0.0-1.0)
* `--tags TEXT` - New comma-separated tags
* `-s, --source TEXT` - New memory source

**Examples:**

Update content only:

```bash theme={null}
memanto edit mem_abc123xyz --content "User prefers light mode (updated)"
```

Update multiple fields:

```bash theme={null}
memanto edit mem_abc123xyz \
  --title "Updated Decision" \
  --type decision \
  --confidence 0.99
```

**Notes:**

* Requires an active agent. Run `memanto agent activate <agent-id>` first.
* Replaces only the specified fields, leaving other fields and the original creation timestamp untouched.
* Backed by the [Edit Memory](/api-reference/data/edit-memory) API endpoint.
