LettaAPI.Model.ToolReturnMessage (letta_api v1.0.0)

A message representing the return value of a tool call (generated by Letta executing the requested tool). 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_return (str): The return value of the tool status (Literal["success", "error"]): The status of the tool call tool_call_id (str): A unique identifier for the tool call that generated this message stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation stderr (Optional[List(str)]): Captured stderr from the tool invocation

Summary

Types

t()

@type t() :: %LettaAPI.Model.ToolReturnMessage{
  date: DateTime.t(),
  id: String.t(),
  message_type: String.t() | nil,
  name: String.t() | nil,
  otid: String.t() | nil,
  sender_id: String.t() | nil,
  status: String.t(),
  stderr: [String.t()] | nil,
  stdout: [String.t()] | nil,
  step_id: String.t() | nil,
  tool_call_id: String.t(),
  tool_return: String.t()
}

Functions

decode(value)