EventActions
Represents the actions attached to an event.
Constructors
Properties
The state of the agent for resumability.
Indicates that the event is updating an artifact. The key is the filename, and the value is the version.
If set, this event carries a context-compaction summary that replaces the compacted range of events when the next LLM prompt is built. See EventCompaction.
If true, the current agent has finished its current run. Note that there can be multiple events with endOfAgent set to true for the same agent within one invocation when there is a loop. The ADK workflow sets this when an agent's run completes naturally. In addition, tools and callbacks may set this on an event they produce to request the current LLM agent's per-step loop to stop after the current step, mirroring Java ADK's EventActions.setEndInvocation(true) / setEndOfAgent(true). Note: this only stops the current LLM agent's step loop; it does not terminate an enclosing workflow agent (SequentialAgent, LoopAgent, ParallelAgent). To break out of a LoopAgent, set escalate instead. CallbackContext.endInvocation() / ToolContext.endInvocation() are convenience helpers for the same per-agent stop signal via InvocationContext.isEndOfInvocation.
A map of tool confirmations requested by this event, keyed by function call ID.
If set, the agent will rewind history before the specified invocation ID.
If true, it won't call the model to summarize the function response. Only used for a function response event.
Indicates that the event is updating the state with the given delta.
If set, the event transfers to the specified agent.
Functions
Merges this EventActions with another one.
Removes a key from the state delta.