executeTools
open suspend override fun executeTools(toolCalls: List<Message.Tool.Call>): List<ReceivedToolResult>(source)
Executes a list of tool calls and returns their results.
This method processes each tool call individually by:
First checking if there are any mocked responses for the tool call
If no mocks are found, executing the actual tool implementation
Return
A list of ReceivedToolResult objects containing the results of the tool calls
Parameters
toolCalls
The list of tool calls to execute