MemoGrafterAgent
removeGraft()
Remove a registered graft node from the current session.
What it does
Remove a registered graft node from 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
removeGraft(nodeId: string): Promise<void>Parameters
nodeId (string) — The grafted topic node to remove.Result
The requested identifier or text value.
Example
example.ts
await agent.removeGraft(nodeId);