ADK for TypeScript: API Reference
    Preparing search index...

    Interface WorkflowInstructionScope

    Workflow: data exposed to {Class.field} and <Class.field from source_node> instruction placeholders when an LlmAgent runs as a workflow node. Populated by LLMAgentWrapper; absent for ordinary (non-workflow) agent runs, in which case those placeholders are left untouched.

    interface WorkflowInstructionScope {
        input?: unknown;
        outputsByNode?: Record<string, unknown>;
    }

    Properties

    input?: unknown

    The current node's input, exposing fields for {Class.field}.

    outputsByNode?: Record<string, unknown>

    Predecessor node outputs keyed by node name, for <Class.field from node>.