Tool Loop Result
constructor(result: O, conversationHistory: List<Message>, totalIterations: Int, injectedTools: List<Tool>, totalUsage: Usage? = null)
Parameters
O
The output type
result
The parsed result
conversation History
Full conversation history including tool calls
total Iterations
Number of LLM inference iterations
injected Tools
All tools added during the conversation via injection strategies
total Usage
Accumulated usage across all LLM calls in the loop