Memory commands: update, delete
The Memory Verbs update, delete as CLI commands, with inputs, result, refusals and an example.
Reference for Memory, one group of Memory commands.
Memory.update
Changes the given properties of a Memory. Verb page.
npx startup-builder do Memory.update --json '<input>' [--try | --send | --do]Emits Memory.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Memory. |
type | list of Noun | The Nouns this Thing is an instance of. | |
outside | json | The ids this Thing has in outside tools, one per Integration, so a re-run matches instead of duplicating. | |
query | json | The saved query that defines a dynamic Collection. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
memory | Memory | required | The Memory. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Memory.update --json '{"id": "memory_Y52OcaSexq", "type": ["noun_v0akLUrXCN"]}'Memory.delete
Deletes a Memory: a soft delete that keeps its history, undone by Thing.restore. Verb page.
npx startup-builder do Memory.delete --json '<input>' [--try | --send | --do]Emits Memory.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Memory. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
memory | Memory | required | The Memory. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Memory.delete --json '{"id": "memory_Y52OcaSexq"}'