ToolCallCompletedEvent
data class ToolCallCompletedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: JsonObject, val toolDescription: String?, val result: JsonElement?, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Represents an event that contains the results of a tool invocation.
This event carries information about the tool that was executed, the arguments used for its execution, and the resulting outcome. It is used to track and share the details of a tool's execution within the system's event-handling framework.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, toolDescription: String?, result: JsonElement?, timestamp: Long = Clock.System.now().toEpochMilliseconds())
Properties
Link copied to clipboard
Provides contextual information about the execution associated with this event.
Link copied to clipboard
Specifies the type of the feature message for this event.
Link copied to clipboard
The result of the tool execution, which may be null if no result was produced or an error occurred;
Link copied to clipboard
The arguments used for executing the tool;
Link copied to clipboard
A unique identifier for the tool call that was executed;
Link copied to clipboard
A description of the tool that was executed;