Skip to documentation
Docs navigation
Docs/getSessionTags()
MemoGrafterAgent

getSessionTags()

Read normalized tags for the current session.

What it does

Read normalized tags for the current session.

When to use it

Use to inspect the normalized tag set that will be applied to new current-session ingestion.

Signature

TypeScript
getSessionTags(): string[]

Result

The requested identifier or text value.

Behavior

Returns the agent's current in-memory session tags in normalized form.

Side effects and completion

Read-only and synchronous.

Example

example.ts
const tags = agent.getSessionTags();