Skip to documentation
Docs navigation
Docs/restoreTopic()
MemoGrafterAgent

restoreTopic()

Restore a suppressed topic to active memory operations.

What it does

Restore a suppressed topic to active memory operations.

Restoring makes a previously suppressed topic eligible for retrieval again; it does not revive memories that were independently forgotten.

Signature

TypeScript
restoreTopic(topicId: string): Promise<boolean>

Parameters

topicId (string) — The topic to change.

Result

true when the requested state changed; false when the target was already in that state or was not found.

Example

example.ts
await agent.restoreTopic(topicId);