remember
Save a self-contained fact, decision, or workflow to shared memory that every coding agent reads across sessions. Store one memory per call by kind, project, and stable key, without secrets.
Instructions
Save one memory to the user's shared memory (every coding agent they use reads it). kind: episodic = something that happened (a decision, a fix, a session outcome), semantic = a fact (about the user, a project, a tool), procedural = how to do something (commands, workflows, conventions), long_term = a durable core fact about the user that every session should start with. project = repo/folder name, '' if it applies everywhere. One self-contained fact per call. Never store secrets. replaces = the id of a memory this one updates (a changed value, a reversed decision): the old one leaves search and stays in history. key = a short stable name for what the fact is about, like 'staging.db.port' or 'release.steps': saving a new memory with the same key (in the same project) replaces the old one automatically. expect = with key: the id you read as current for that key (0 if it had none); if another agent changed it since, nothing is saved and you are told what it is now. tentative = a guess or unverified finding: searchable, but kept out of session-start context until confirmed. strict = refuse to save if it seems to contradict a current memory. The reply lists related memories and flags CONFLICTs; if the new one updates one of them, call again with replaces.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "remember"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| kind | No | semantic | |
| text | Yes | ||
| expect | No | ||
| strict | No | ||
| project | No | ||
| replaces | No | ||
| tentative | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |