executeMultipleToolsAndSendResults
fun executeMultipleToolsAndSendResults(parallelTools: Boolean = false, name: String? = null): AIAgentNodeBase<List<Message.Tool.Call>, List<Message.Response>>(source)
Executes multiple tools and sends their aggregated results as responses.
Return
An instance of AIAgentNodeBase that performs the execution of multiple tools with an input type of List of Message.Tool.Call and outputs a List of Message.Response.
Parameters
name
An optional name for the node. If null, a default name will be generated.
parallelTools
Indicates whether the tools should be executed in parallel. Defaults to false.