ToolCallStarted

org.llm4s.agent.streaming.AgentEvent.ToolCallStarted
final case class ToolCallStarted(toolCallId: String, toolName: String, arguments: String, timestamp: Instant) extends AgentEvent

A tool call was requested by the LLM.

Emitted when the LLM decides to invoke a tool. The tool has not yet been executed at this point.

Value parameters

arguments

JSON string of arguments passed to the tool

timestamp

When the tool call was requested

toolCallId

Unique identifier for this tool call

toolName

Name of the tool being invoked

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AgentEvent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product