Skip to documentation
Docs navigation
Docs/suppressTopic()
MemoGrafterAgent

suppressTopic()

Hide a topic from active memory operations.

What it does

Hide a topic from active memory operations.

Suppression hides a topic and its attached active memory from normal retrieval without deleting graph history.

Signature

TypeScript
suppressTopic(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.suppressTopic(topicId);