LoopTool

org.llm4s.agent.graph.toolloop.LoopTool
See theLoopTool companion object
trait LoopTool

A tool the loop can call. Stage 0 prototype of the agent-level tool contract: (#1271) replaces it with the typed, schema-validated AgentTool[A]. approved is true when a human approved this call, so a tool that asks for approval must not ask again.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def execute(call: ToolCall, approved: Boolean): ToolOutcome
def name: String