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

    Interface EventActions

    Represents the actions attached to an event.

    interface EventActions {
        artifactDelta: { [key: string]: number };
        escalate?: boolean;
        requestedAuthConfigs: { [key: string]: any };
        requestedToolConfirmations: { [key: string]: ToolConfirmation };
        skipSummarization?: boolean;
        stateDelta: { [key: string]: unknown };
        transferToAgent?: string;
    }

    Properties

    artifactDelta: { [key: string]: number }

    Indicates that the event is updating an artifact. key is the filename, value is the version.

    escalate?: boolean

    The agent is escalating to a higher level agent.

    requestedAuthConfigs: { [key: string]: any }

    Authentication configurations requested by tool responses.

    This field will only be set by a tool response event indicating tool request auth credential.

    • Keys: The function call id. Since one function response event could contain multiple function responses that correspond to multiple function calls. Each function call could request different auth configs. This id is used to identify the function call.
    • Values: The requested auth config.
    requestedToolConfirmations: { [key: string]: ToolConfirmation }

    A dict of tool confirmation requested by this event, keyed by the function call id.

    skipSummarization?: boolean

    If true, it won't call model to summarize function response. Only used for function_response event.

    stateDelta: { [key: string]: unknown }

    Indicates that the event is updating the state with the given delta.

    transferToAgent?: string

    If set, the event transfers to the specified agent.