Interface EventActions (0.18.0)

Actions are parts of events that are executed by the agent.

Package

@google-cloud/agentplatform

Properties

artifactDelta

artifactDelta?: Record<string, number>;

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

escalate

escalate?: boolean;

Optional. The agent is escalating to a higher level agent.

requestedAuthConfigs

requestedAuthConfigs?: Record<string, unknown>;

Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct.

skipSummarization

skipSummarization?: boolean;

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

stateDelta

stateDelta?: Record<string, unknown>;

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

transferAgent

transferAgent?: string;

Optional. If set, the event transfers to the specified agent.