LettaAPI.Model.ToolCallMessage (letta_api v1.0.0)

A message representing a request to call a tool (generated by the LLM to trigger tool execution). Args: id (str): The ID of the message date (datetime): The date the message was created in ISO format name (Optional[str]): The name of the sender of the message tool_call (Union[ToolCall, ToolCallDelta]): The tool call

Summary

Types

t()

@type t() :: %LettaAPI.Model.ToolCallMessage{
  date: DateTime.t(),
  id: String.t(),
  message_type: String.t() | nil,
  name: String.t() | nil,
  otid: String.t() | nil,
  sender_id: String.t() | nil,
  step_id: String.t() | nil,
  tool_call: LettaAPI.Model.ToolCall.t()
}

Functions

decode(value)