ContextFrameworkData

data class ContextFrameworkData(val callbackContextData: MutableMap<String, Any> = concurrentMutableMapOf(), val nodePath: String? = null, val isolationScope: String? = null, val agentModeOverride: AgentModeOverride? = null, val nodeContext: Context? = null, val continuesPausedTask: Boolean = false)

Framework-internal per-invocation data holder. Groups scratch state used by ADK's own machinery and the ADK Java interop so it stays off InvocationContext's public constructor. The type itself needs no opt-in; its public members are marked FrameworkInternalApi.

Constructors

Link copied to clipboard
constructor(callbackContextData: MutableMap<String, Any> = concurrentMutableMapOf(), nodePath: String? = null, isolationScope: String? = null, agentModeOverride: AgentModeOverride? = null, nodeContext: Context? = null, continuesPausedTask: Boolean = false)

Properties

Link copied to clipboard

The mode LlmAgent.runNode sets for the agent it runs, keyed to that agent so sub-agents and transfer targets that inherit the copy do not take it; null outside a node run.

Link copied to clipboard

Per-invocation scratch data shared across the invocation's callbacks and its sub-agent/branch context copies. Mirrors Java ADK's InvocationContext.callbackContextData().

Link copied to clipboard

Whether the invocation's new message joined a paused task's invocation, so the message is the workflow's input rather than the invocation's first message.

Link copied to clipboard

The isolation scope the contents processor filters session events by: only events stamped with this exact scope reach the model, so null sees only unscoped events.

Link copied to clipboard

The workflow node activation an agent node runs under, so its tools can run a sub-agent as a child node there; null outside a node run.

Link copied to clipboard

The workflow node path the agent runs at, or null outside a workflow. The contents processor uses it to keep the agent's history to its own node path.