AgentEvent.FunctionCall

public final class AgentEvent.FunctionCall implements AgentEvent


Emitted immediately before a function is invoked by the runner.

Summary

Public constructors

FunctionCall(
    @NonNull String name,
    @NonNull Map<@NonNull String, Object> args
)

Public methods

final @NonNull Map<@NonNull String, Object>

The map of arguments extracted and passed to the function.

final @NonNull String

The name of the function to be called.

Public constructors

FunctionCall

public FunctionCall(
    @NonNull String name,
    @NonNull Map<@NonNull String, Object> args
)

Public methods

getArgs

public final @NonNull Map<@NonNull String, Object> getArgs()

The map of arguments extracted and passed to the function.

getName

public final @NonNull String getName()

The name of the function to be called.