memory_update
Updates an agent memory record at the user's request; passed fields are replaced, and a new level, projectID or repositoryID moves it. Authors edit their own records, moderators (memory:moderate) any but user-level ones; an author's edit makes the record personal and unverified again, while a moderator's edit keeps these flags; verified is a human moderator's decision and makes the record visible to agents of its scope (shared is a legacy alias of it). Rejected if the record changed since the given version.
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": {
"ID": "<ID>",
"version": "<version>"
},
"name": "memory_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | Yes | Record ID. | |
| jobs | No | Jobs the record is for; at least one for job and request, none for always. | |
| load | No | always - delivered with any work, short; job - with the jobs in `jobs` (prevention, silent pitfalls); request - only in the `memory` index, read by ID (symptom diagnostics, narrow areas). | |
| text | No | One topic, 1.5-3 thousand characters (max 4,000), in the language of the workspace data: rules and facts with reasons. Author and date are record fields, no "Source" line needed. | |
| level | No | New level (moves the record). | |
| theme | No | Topic from the company topic dictionary, as when creating a record; changing the topic, like the text, removes the verification. | |
| title | No | "<situation or symptom>: <what's inside>" without the topic, up to 200 characters, in the language of the workspace data; agents judge relevance by the title in the memory index. | |
| agents | No | Which agents the record is for: all - everyone (default); user - agents working on a person's token, with that person's machine setup; system - Kosmodrom agent employees working on their own VM under the agent runner. | |
| shared | No | Requires memory:moderate: legacy alias of verified; true with verified = false is rejected. | |
| version | Yes | Record version the change is based on. | |
| themeNew | No | Only for a topic outside the dictionary: why none of the dictionary topics fits. | |
| verified | No | Requires memory:moderate: the record is verified and visible to agents of its scope; false - only to the author. | |
| projectID | No | New project ID, for level = project. | |
| productIDs | No | As when creating a record, the full list; [] - all products of the record's project. | |
| repositoryID | No | New repository ID, for level = repository. |