# Log material

> Save something real the user did or learned, for posts and replies later: what they shipped today, a number, a result, a lesson, a story. Coding agents can log what they built with the user. Only true things the user did or said; never guesses. Xholic uses it as true personal detail in drafts.

`memory.material` · write

- **MCP tool:** `log_material`. Loaded by default in MCP clients.
- **REST:** `POST /v1/memory/material`
- **CLI:** `xholic memory material`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`
- **Undo:** from the activity log, which runs `memory.item_remove`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string ≤ 2000 chars | Yes | What happened, in plain words, with any real numbers. |
| `kind` | "material" \\| "fact" | No | material (default): something that happened; fact: a lasting fact about the user or their product. |
| `posts` | array of string ≤ 2048 chars (max 10) | No | Related X post URLs or ids. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
