ToolCallStartingEvent

data class ToolCallStartingEvent(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(runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

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

Specifies the type of the feature message for this event.

Link copied to clipboard
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
Link copied to clipboard

The unique name of the tool being called;