memory.put
Save long-term project facts, architecture choices, fixes, or preferences as indexed memory entries for later retrieval. Search first to avoid duplicates; each call creates a new ID.
Instructions
Save one piece of long-term knowledge that outlives the session — a fact about the project, an architecture choice, a fix that worked, a user preference — and index it for memory.search; context.get surfaces related entries later. Every call adds a new entry with a new ID (nothing is merged or overwritten), so memory.search first to avoid a duplicate. Works without an active session. Returns the entry JSON with its id; errors on an unknown kind. To copy this session's decisions, resolved blockers and completed tasks in bulk use memory.promote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | project_knowledge (facts about the codebase), architecture (design choices), solution (a fix that worked), preference (how the user wants things done), or skill (a reusable procedure) | |
| content | Yes | Self-contained plain text a future agent can act on without this session, e.g. "The billing API rejects requests without an Idempotency-Key header" |