ToolCallContext

data class ToolCallContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: ToolArgs) : ToolEventHandlerContext(source)

Represents the context for handling a tool call event.

Constructors

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

Properties

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

The tool instance that is being executed. It encapsulates the logic and metadata for the operation.

Link copied to clipboard

The arguments provided for the tool execution, adhering to the tool's expected input structure.

Link copied to clipboard