NodeGrounding
Per-node retrieval/memory scoping (W3). All optional; omitting grounding
entirely leaves the node grounded exactly as the agent-wide default.
Properties
Section titled “Properties”knowledge?
Section titled “knowledge?”optional knowledge?: AgentKnowledgeOverrides & object;Node-scoped knowledge overrides, merged OVER the agent’s (node wins). Most
useful: filter (restrict to a node-specific doc subset) and autoRetrieve:false
to skip retrieval for this node. topK/maxOutputTokens also honored.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
|
|
|
memory?
Section titled “memory?”optional memory?: object;Node-scoped memory: preload:false skips memory preload for this node;
tokenBudget overrides the agent default for this node only.
| Name | Type |
|---|---|
|
|
|
|
|
|
query?
Section titled “query?”optional query?: string | ((state, history) => string);Retrieval/memory query for this node. A fixed topic string, or a function over current flow state + message history. Defaults to the last user message.