Skip to content

ActionEvent

Namespace: E2E

public sealed record ActionEvent : IEquatable<ActionEvent>

One completed action of an agent.act step, as OnAction receives it.

Inheritance: object

Implements: IEquatable<ActionEvent>

View source

ActionEvent(int, string, string, ActionSource)

Section titled “ActionEvent(int, string, string, ActionSource)”
public ActionEvent(int Index, string Action, string Summary, ActionSource Source)

One completed action of an agent.act step, as OnAction receives it.

Parameters

Name Type Description
Index int 1-based position in the step’s action budget; a failed attempt uses a number too.
Action string The committed action, such as tap or navigate; a mutating project tool reads tool:name.
Summary string What the action did, secrets redacted.
Source ActionSource Who chose the action.

View source

public string Action { get; init; }

The committed action, such as tap or navigate; a mutating project tool reads tool:name.

Value: string

View source

public int Index { get; init; }

1-based position in the step’s action budget; a failed attempt uses a number too.

Value: int

View source

public ActionSource Source { get; init; }

Who chose the action.

Value: ActionSource

View source

public string Summary { get; init; }

What the action did, secrets redacted.

Value: string

View source