ToolCallCompletedContext

data class ToolCallCompletedContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: Any?, val result: Any?) : ToolCallEventContext(source)

Represents the context used when handling the result of a tool call.

Constructors

Link copied to clipboard
constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: Any?, result: Any?)

Properties

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard
val result: Any?

An optional result produced by the tool after execution can be null if not applicable.

Link copied to clipboard

The unique identifier for this tool call session.

Link copied to clipboard
val tool: Tool<*, *>

The tool being executed, which defines the operation to be performed.

Link copied to clipboard

The arguments required by the tool for execution.

Link copied to clipboard

The unique identifier for this tool call.