ToolOutcome

org.llm4s.agent.graph.toolloop.ToolOutcome

What a tool did. Tools return content, never ToolMessages: the loop writes every result message.

Attributes

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

Members list

Type members

Enum entries

final case class Completed(content: String)
final case class Failed(message: String)
final case class NeedsApproval(reason: String)

The call must be approved by a human before it runs; the loop suspends it.

The call must be approved by a human before it runs; the loop suspends it.

Attributes