ToolCallStartingEvent

data class ToolCallStartingEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: JsonObject, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Represents an event triggered when a tool is called within the system.

This event is used to capture and describe the invocation of a tool along with its associated arguments. It helps in tracking, logging, or processing tool calls as part of a larger feature pipeline or system workflow.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, timestamp: Long = Clock.System.now().toEpochMilliseconds())
constructor(runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard
open override val eventId: String

A unique identifier for the event or a group of events;

Link copied to clipboard

Provides contextual information about the execution associated with this event.

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

A unique identifier representing the specific run or instance of the tool call;

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.

Link copied to clipboard

The arguments provided for the tool execution;

Link copied to clipboard

A unique identifier for the tool call;

Link copied to clipboard

The unique name of the tool being called;