ToolCallRequestEvent

class ToolCallRequestEvent(val agentProcess: AgentProcess, val action: Action?, val tool: String, val toolGroupMetadata: ToolGroupMetadata?, val toolInput: String, val llmOptions: <Error class: unknown class>, val correlationId: String = "-") : AbstractAgentProcessEvent

Call to a function from an LLM

Parameters

correlationId

correlation ID for this tool call, useful for UI

Constructors

Link copied to clipboard
constructor(agentProcess: AgentProcess, action: Action?, tool: String, toolGroupMetadata: ToolGroupMetadata?, toolInput: String, llmOptions: <Error class: unknown class>, correlationId: String = "-")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val llmOptions: <Error class: unknown class>
Link copied to clipboard
open override val processId: String

ID of the process that this event relates to.

Link copied to clipboard
Link copied to clipboard
open val timestamp: Instant
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun responseEvent(result: <Error class: unknown class><String>, runningTime: Duration): ToolCallResponseEvent