executeMultipleTools
fun executeMultipleTools(parallelTools: Boolean = false, name: String? = null): AIAgentNodeBase<List<Message.Tool.Call>, List<ReceivedToolResult>>(source)
Executes multiple tools as part of an AI agent's processing node.
Return
A node configured to handle execution of a list of tools (List<Message.Tool.Call>) with the results being a list of received tool results (List<ReceivedToolResult>).
Parameters
name
An optional name for the node. If not provided, a default name will be generated.
parallelTools
A flag indicating whether the tools should be executed in parallel. Defaults to false.