MemoGrafterAgent
setSessionTags()
Replace normalized tags for the current session.
What it does
Replace normalized tags for the current session.
The operation is scoped to the agent’s current session, so callers do not pass a session identifier on every call.
Signature
TypeScript
setSessionTags(tags: string[]): Promise<void>Parameters
tags (string[]) — The complete normalized tag set that should replace the current set.Result
The requested identifier or text value.
Example
example.ts
await agent.setSessionTags(["tenant:acme", "support"]);