create
abstract fun create(llmMessageSender: LlmMessageSender, objectMapper: <Error class: unknown class>, injectionStrategy: ToolInjectionStrategy, maxIterations: Int, toolDecorator: (Tool) -> Tool?): ToolLoop
Create a ToolLoop instance.
Parameters
llm Message Sender
message sender for LLM communication
object Mapper
for JSON deserialization
injection Strategy
strategy for dynamic tool injection
max Iterations
maximum loop iterations
tool Decorator
optional decorator for injected tools