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.

Parameters

tool

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

toolArgs

The arguments required by the tool for execution.

result

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

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?
Link copied to clipboard
Link copied to clipboard
val tool: Tool<*, *>
Link copied to clipboard
Link copied to clipboard